From 303c221641f658f724f695e40be72cdb1964795c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 19 Aug 2019 11:42:57 +0930 Subject: [PATCH] tools/test/Makefile: we depend on tools/test/gen_test.h This is because update-mocks actually tries to build it to get link errors. Signed-off-by: Rusty Russell --- tools/test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/Makefile b/tools/test/Makefile index 2fa270dd0..04b4d7f0f 100644 --- a/tools/test/Makefile +++ b/tools/test/Makefile @@ -30,7 +30,7 @@ tools/test/gen_test.h: $(TOOLS_WIRE_DEPS) tools/test/gen_test.c.tmp.c: $(TOOLS_WIRE_DEPS) $(BOLT_GEN) --page impl tools/test/gen_test.h test_type < tools/test/test_cases > $@ -tools/test/gen_test.c: tools/test/gen_test.c.tmp.c $(EXTERNAL_HEADERS) +tools/test/gen_test.c: tools/test/gen_test.c.tmp.c $(EXTERNAL_HEADERS) tools/test/gen_test.h @MAKE=$(MAKE) tools/update-mocks.sh "$<" && mv "$<" "$@" tools/test/gen_print.h: wire/gen_onion_wire.h $(TOOLS_WIRE_DEPS)