From c2e56fbb1b2698619de8cb0e989247fcaf88220f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 12 Sep 2018 05:51:48 +0930 Subject: [PATCH] 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 --- wallet/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wallet/Makefile b/wallet/Makefile index 4c82a78db..6f5c9e28e 100644 --- a/wallet/Makefile +++ b/wallet/Makefile @@ -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/%)