From 39b96c01bfd4547f38c9e573ff5d551057ea272c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 11 Mar 2021 21:56:37 -0500 Subject: 'make test': try harder to make it build in the right order. Signed-off-by: Peter Jones --- include/test.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/test.mk b/include/test.mk index 542be176..5d74bdc2 100644 --- a/include/test.mk +++ b/include/test.mk @@ -29,6 +29,8 @@ CFLAGS = -O2 -ggdb -std=gnu11 \ "-DDEFAULT_DEBUG_PRINT_STATE=$(DEBUG_PRINTS)" $(wildcard test-*.c) :: %.c : test-random.h +$(patsubst %.c,%,$(wildcard test-*.c)) :: | test-random.h +$(patsubst %.c,%.o,$(wildcard test-*.c)) : | test-random.h test-random.h: dd if=/dev/urandom bs=512 count=17 of=random.bin -- cgit v1.2.3