Skip to content

Commit

Permalink
'make test': try harder to make it build in the right order.
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jones <pjones@redhat.com>
  • Loading branch information
vathpela authored and martinezjavier committed Mar 12, 2021
1 parent 9e8dde5 commit 39b96c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39b96c0

Please sign in to comment.