mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
Makefile: fix $(FORCE) in sub-Makefiles
It needs to be defined before we include them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
d3f370944e
commit
40b264cf95
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -258,6 +258,11 @@ endif
|
||||||
|
|
||||||
default: show-flags all-programs all-test-programs doc-all
|
default: show-flags all-programs all-test-programs doc-all
|
||||||
|
|
||||||
|
ifneq ($(SUPPRESS_GENERATION),1)
|
||||||
|
FORCE = FORCE
|
||||||
|
FORCE::
|
||||||
|
endif
|
||||||
|
|
||||||
show-flags: config.vars
|
show-flags: config.vars
|
||||||
@$(ECHO) "CC: $(CC) $(CFLAGS) -c -o"
|
@$(ECHO) "CC: $(CC) $(CFLAGS) -c -o"
|
||||||
@$(ECHO) "LD: $(LINK.o) $(filter-out %.a,$^) $(LOADLIBES) $(EXTERNAL_LDLIBS) $(LDLIBS) -o"
|
@$(ECHO) "LD: $(LINK.o) $(filter-out %.a,$^) $(LOADLIBES) $(EXTERNAL_LDLIBS) $(LDLIBS) -o"
|
||||||
|
@ -536,11 +541,6 @@ ncc: ${TARGET_DIR}/libwally-core-build/src/libwallycore.la
|
||||||
TAGS:
|
TAGS:
|
||||||
$(RM) TAGS; find * -name test -type d -prune -o -name '*.[ch]' -print -o -name '*.py' -print | xargs etags --append
|
$(RM) TAGS; find * -name test -type d -prune -o -name '*.[ch]' -print -o -name '*.py' -print | xargs etags --append
|
||||||
|
|
||||||
ifneq ($(SUPPRESS_GENERATION),1)
|
|
||||||
FORCE = FORCE
|
|
||||||
FORCE::
|
|
||||||
endif
|
|
||||||
|
|
||||||
ccan/ccan/cdump/tools/cdump-enumstr: ccan/ccan/cdump/tools/cdump-enumstr.o $(CDUMP_OBJS) $(CCAN_OBJS)
|
ccan/ccan/cdump/tools/cdump-enumstr: ccan/ccan/cdump/tools/cdump-enumstr.o $(CDUMP_OBJS) $(CCAN_OBJS)
|
||||||
|
|
||||||
ALL_PROGRAMS += ccan/ccan/cdump/tools/cdump-enumstr
|
ALL_PROGRAMS += ccan/ccan/cdump/tools/cdump-enumstr
|
||||||
|
|
Loading…
Add table
Reference in a new issue