mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 09:40:19 +01:00
maintclean: fix depends and typo
Make CORE_OBJS depends on headers, also make them depend on CCAN headers. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
8345bff825
commit
748f477508
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue