mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
wallet: fix Makefile to include correct dependencies.
It didn't depend on its own headers, it should also depend on lightningd/lightningd.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
704d30edce
commit
c2e56fbb1b
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ WALLET_LIB_OBJS := $(WALLET_LIB_SRC:.c=.o)
|
|||
WALLET_LIB_HEADERS := $(WALLET_LIB_SRC:.c=.h)
|
||||
|
||||
# Make sure these depend on everything.
|
||||
ALL_OBJS += $(LIGHTNINGD_OBJS)
|
||||
ALL_OBJS += $(WALLET_LIB_OBJS)
|
||||
|
||||
$(WALLET_LIB_OBJS): $(LIGHTNINGD_HEADERS_NOGEN) $(WALLET_LIB_HEADERS)
|
||||
|
||||
check-whitespace: $(WALLET_LIB_SRC:%=check-whitespace/%) $(WALLET_LIB_HEADERS:%=check-whitespace/%)
|
||||
check-source: $(WALLET_LIB_SRC:%=check-src-include-order/%)
|
||||
|
|
Loading…
Add table
Reference in a new issue