From 748f477508c6f9845fe08c0b8ad49287d464c792 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 9 Aug 2016 13:11:13 +0930 Subject: [PATCH] maintclean: fix depends and typo Make CORE_OBJS depends on headers, also make them depend on CCAN headers. Signed-off-by: Rusty Russell --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 07ab6aecf..9a6f4bdca 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,7 @@ default: $(PROGRAMS) daemon-all $(CCAN_OBJS) $(CDUMP_OBJS) $(HELPER_OBJS) $(BITCOIN_OBJS) $(TEST_PROGRAMS:=.o): $(CCAN_HEADERS) # Except for CCAN, everything depends on bitcoin/ and core headers. -$(HELPER_OBJS) $(BITCOIN_OBJS) $(TEST_PROGRAMS:=.o): $(BITCOIN_HEADERS) $(CORE_HEADERS) $(GEN_HEADERS) +$(HELPER_OBJS) $(CORE_OBJS) $(BITCOIN_OBJS) $(TEST_PROGRAMS:=.o): $(BITCOIN_HEADERS) $(CORE_HEADERS) $(CCAN_HEADERS) $(GEN_HEADERS) daemon-test-%: daemon/test/scripts/shutdown.sh 2>/dev/null || true @@ -338,7 +338,7 @@ distclean: clean $(MAKE) -C secp256k1/ distclean || true $(RM) libsecp256k1.a secp256k1/libsecp256k1.la -maintainter-clean: distclean +maintainer-clean: distclean @echo 'This command is intended for maintainers to use; it' @echo 'deletes files that may need special tools to rebuild.' $(RM) lightning.pb-c.c lightning.pb-c.h ccan/config.h $(GEN_HEADERS)