wire/Makefile: fix missing wire/bolt12_exp_wiregen.c in ALL_C_SOURCES.

And add it as a requirement to the test programs!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2022-10-17 12:49:43 +10:30
parent 422e68a4d6
commit f158b529d3
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ LIGHTNINGD_TEST_COMMON_OBJS := \
common/permute_tx.o \
common/wireaddr.o \
$(LIGHTNINGD_TEST_PROGRAMS): $(CCAN_OBJS) $(BITCOIN_OBJS) $(WIRE_OBJS) $(LIGHTNINGD_TEST_COMMON_OBJS)
$(LIGHTNINGD_TEST_PROGRAMS): $(CCAN_OBJS) $(BITCOIN_OBJS) $(WIRE_OBJS) $(LIGHTNINGD_TEST_COMMON_OBJS) $(WIRE_BOLT12_OBJS)
$(LIGHTNINGD_TEST_OBJS): $(LIGHTNINGD_HDRS) $(LIGHTNINGD_SRC) $(LIGHTNINGD_SRC_NOHDR)

View File

@ -53,7 +53,7 @@ WIRE_NONEXP_HEADERS := wire/peer_wiregen.h \
wire/onion_printgen.h \
wire/channel_type_printgen.h
ALL_C_SOURCES += $(WIRE_SRC) $(WIRE_PRINT_SRC) $(WIRE_NONEXP_SRC)
ALL_C_SOURCES += $(WIRE_SRC) $(WIRE_BOLT12_SRC) $(WIRE_PRINT_SRC) $(WIRE_NONEXP_SRC)
ALL_C_HEADERS += $(WIRE_HEADERS) $(WIRE_NONEXP_HEADERS)