mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
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 <rusty@rustcorp.com.au>
This commit is contained in:
parent
49809785ca
commit
d77d5edc07
3
Makefile
3
Makefile
@ -314,7 +314,7 @@ distclean: clean
|
|||||||
maintainer-clean: distclean
|
maintainer-clean: distclean
|
||||||
@echo 'This command is intended for maintainers to use; it'
|
@echo 'This command is intended for maintainers to use; it'
|
||||||
@echo 'deletes files that may need special tools to rebuild.'
|
@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) doc/deployable-lightning.pdf
|
||||||
$(RM) $(MANPAGES)
|
$(RM) $(MANPAGES)
|
||||||
|
|
||||||
@ -323,6 +323,7 @@ clean: daemon-clean
|
|||||||
$(RM) libsecp256k1.{a,la}
|
$(RM) libsecp256k1.{a,la}
|
||||||
$(RM) $(PROGRAMS)
|
$(RM) $(PROGRAMS)
|
||||||
$(RM) bitcoin/*.o *.o $(PROGRAMS:=.o) $(CCAN_OBJS)
|
$(RM) bitcoin/*.o *.o $(PROGRAMS:=.o) $(CCAN_OBJS)
|
||||||
|
$(RM) ccan/config.h gen_*.h
|
||||||
$(RM) ccan/ccan/cdump/tools/cdump-enumstr.o
|
$(RM) ccan/ccan/cdump/tools/cdump-enumstr.o
|
||||||
$(RM) doc/deployable-lightning.{aux,bbl,blg,dvi,log,out,tex}
|
$(RM) doc/deployable-lightning.{aux,bbl,blg,dvi,log,out,tex}
|
||||||
|
|
||||||
|
@ -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/lightning-cli: $(DAEMON_CLI_OBJS) $(DAEMON_LIB_OBJS) $(DAEMON_JSMN_OBJS) $(CORE_OBJS) $(BITCOIN_OBJS) $(CCAN_OBJS) libsecp256k1.a
|
||||||
|
|
||||||
daemon-clean:
|
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:
|
daemon-maintainer-clean:
|
||||||
$(RM) $(DAEMON_GEN_HEADERS)
|
|
||||||
|
|
||||||
include daemon/test/Makefile
|
include daemon/test/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user