mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
Makefile: clean should not delete configure results, distclean only.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
72d103d6bb
commit
4bd27ec722
3
Makefile
3
Makefile
@@ -345,6 +345,7 @@ all-programs: $(ALL_PROGRAMS)
|
||||
all-test-programs: $(ALL_TEST_PROGRAMS)
|
||||
|
||||
distclean: clean
|
||||
$(RM) ccan/config.h config.vars
|
||||
|
||||
maintainer-clean: distclean
|
||||
@echo 'This command is intended for maintainers to use; it'
|
||||
@@ -354,7 +355,7 @@ clean: wire-clean
|
||||
$(RM) $(CCAN_OBJS) $(CDUMP_OBJS) $(ALL_OBJS)
|
||||
$(RM) $(ALL_PROGRAMS) $(ALL_PROGRAMS:=.o)
|
||||
$(RM) $(ALL_TEST_PROGRAMS) $(ALL_TEST_PROGRAMS:=.o)
|
||||
$(RM) ccan/config.h gen_*.h config.vars ccan/tools/configurator/configurator
|
||||
$(RM) gen_*.h ccan/tools/configurator/configurator
|
||||
$(RM) ccan/ccan/cdump/tools/cdump-enumstr.o
|
||||
$(RM) check-bolt tools/check-bolt tools/*.o
|
||||
find . -name '*gcda' -delete
|
||||
|
||||
Reference in New Issue
Block a user