mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
Makefile: not running configure first is so yesterday:
Make should only run configure if config.var already exists: $ make ./configure --reconfigure ./configure: 65: .: config.vars: not found ./configure --reconfigure ./configure: 65: .: config.vars: not found Makefile:179: recipe for target 'ccan/config.h' failed make: *** [ccan/config.h] Error 2
This commit is contained in:
parent
4bd27ec722
commit
c49765553f
1
Makefile
1
Makefile
@ -176,6 +176,7 @@ LDLIBS = -L/usr/local/lib -lm -lgmp -lsqlite3 -lz $(COVFLAGS)
|
||||
default: all-programs all-test-programs
|
||||
|
||||
config.vars ccan/config.h: configure
|
||||
@if [ ! -f config.vars ]; then echo 'The 1990s are calling: use ./configure!' >&2; exit 1; fi
|
||||
./configure --reconfigure
|
||||
|
||||
include external/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user