Browse Source

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 <rusty@rustcorp.com.au>
pull/2938/head
Rusty Russell 5 years ago
parent
commit
303c221641
  1. 2
      tools/test/Makefile

2
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) 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 > $@ $(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 "$<" "$@" @MAKE=$(MAKE) tools/update-mocks.sh "$<" && mv "$<" "$@"
tools/test/gen_print.h: wire/gen_onion_wire.h $(TOOLS_WIRE_DEPS) tools/test/gen_print.h: wire/gen_onion_wire.h $(TOOLS_WIRE_DEPS)

Loading…
Cancel
Save