From 837530514ae69baf72fa70210ef4c9e30054d202 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 24 Jul 2019 14:10:29 +0930 Subject: [PATCH] Makefile: make wire generated CSV depend on config. Required if we change EXPERIMENTAL_FEATURES for example. Signed-off-by: Rusty Russell --- wire/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wire/Makefile b/wire/Makefile index 6aed7836a..db961eac6 100644 --- a/wire/Makefile +++ b/wire/Makefile @@ -64,6 +64,9 @@ wire/gen_onion_wire_csv: wire/extracted_onion_wire_csv @cp $< $@ endif +# We (may) need to rebuild these if config changes +wire/gen_peer_wire_csv wire/gen_onion_wire_csv: config.vars + wire/gen_peer_wire.h: wire/gen_peer_wire_csv $(WIRE_BOLT_DEPS) $(BOLT_GEN) -s --page header $@ wire_type < $< > $@