From f158b529d3e4c56b70c44aaebc821c1f15477fa2 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 17 Oct 2022 12:49:43 +1030 Subject: [PATCH] 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 --- lightningd/test/Makefile | 2 +- wire/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lightningd/test/Makefile b/lightningd/test/Makefile index f9b10b466..b2fc99230 100644 --- a/lightningd/test/Makefile +++ b/lightningd/test/Makefile @@ -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) diff --git a/wire/Makefile b/wire/Makefile index 239dadf7a..e4c0d09ed 100644 --- a/wire/Makefile +++ b/wire/Makefile @@ -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)