wallet: add dependency on lightningd/ headers.

wallet should really be a subdir of lightningd.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2023-01-16 13:54:48 +10:30 committed by Alex Myers
parent acfb63e4bf
commit 0faa8397c3

View file

@ -19,6 +19,9 @@ WALLET_HDRS := $(WALLET_LIB_SRC:.c=.h)
WALLET_OBJS := $(WALLET_SRC:.c=.o)
# This really should be a subdir of lightningd/. We depend on their headers!
$(WALLET_OBJS): $(LIGHTNINGD_SRC:.c=.h)
# Make sure these depend on everything.
ALL_C_SOURCES += $(WALLET_SRC) $(WALLET_DB_QUERIES)
ALL_C_HEADERS += $(WALLET_HDRS)