From d77d5edc074cf09fcc3a21b8355326258de38952 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 9 Nov 2016 08:04:27 +1030 Subject: [PATCH] Makefile: clean gen_ files and ccan/config in make clean. Not on maintainer-clean; they don't need special tools. Signed-off-by: Rusty Russell --- Makefile | 3 ++- daemon/Makefile | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e986ba46a..76b70c585 100644 --- a/Makefile +++ b/Makefile @@ -314,7 +314,7 @@ distclean: clean 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) + $(RM) lightning.pb-c.c lightning.pb-c.h $(RM) doc/deployable-lightning.pdf $(RM) $(MANPAGES) @@ -323,6 +323,7 @@ clean: daemon-clean $(RM) libsecp256k1.{a,la} $(RM) $(PROGRAMS) $(RM) bitcoin/*.o *.o $(PROGRAMS:=.o) $(CCAN_OBJS) + $(RM) ccan/config.h gen_*.h $(RM) ccan/ccan/cdump/tools/cdump-enumstr.o $(RM) doc/deployable-lightning.{aux,bbl,blg,dvi,log,out,tex} diff --git a/daemon/Makefile b/daemon/Makefile index c2417561d..5ca771b48 100644 --- a/daemon/Makefile +++ b/daemon/Makefile @@ -137,9 +137,8 @@ daemon/lightningd: $(DAEMON_OBJS) $(DAEMON_LIB_OBJS) $(DAEMON_JSMN_OBJS) $(CORE_ daemon/lightning-cli: $(DAEMON_CLI_OBJS) $(DAEMON_LIB_OBJS) $(DAEMON_JSMN_OBJS) $(CORE_OBJS) $(BITCOIN_OBJS) $(CCAN_OBJS) libsecp256k1.a daemon-clean: - $(RM) $(DAEMON_OBJS) $(DAEMON_LIB_OBJS) $(DAEMON_CLI_OBJS) $(DAEMON_JSMN_OBJS) + $(RM) $(DAEMON_OBJS) $(DAEMON_LIB_OBJS) $(DAEMON_CLI_OBJS) $(DAEMON_JSMN_OBJS) $(DAEMON_GEN_HEADERS) daemon-maintainer-clean: - $(RM) $(DAEMON_GEN_HEADERS) include daemon/test/Makefile