mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-21 22:14:20 +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:
committed by
Christian Decker
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
|
||||
|
||||
Reference in New Issue
Block a user