mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
Makefiles: simplify dependencies.
Gather all binaries and objects and make the depend on external requirements and common headers. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
14277f93f2
commit
739b163f8b
@@ -14,6 +14,10 @@ $(LIGHTNING_CLI_OBJS) $(JSMN_OBJS): $(JSMN_HEADERS) $(COMMON_HEADERS) $(CCAN_HEA
|
||||
|
||||
cli/lightning-cli: $(LIGHTNING_CLI_OBJS) $(LIGHTNING_CLI_COMMON_OBJS) $(JSMN_OBJS) $(CCAN_OBJS)
|
||||
|
||||
# Make sure these depend on everything.
|
||||
ALL_PROGRAMS += cli/lightning-cli
|
||||
ALL_OBJS += $(LIGHTNING_CLI_OBJS)
|
||||
|
||||
check-source: $(LIGHTNING_CLI_SRC:%=check-src-include-order/%)
|
||||
|
||||
clean: lightning-cli-clean
|
||||
|
||||
Reference in New Issue
Block a user