Igor Cota
a048a54f83
Add specific external libs to the makefile clean recipe. To avoid failed linking of cross compiled binaries left out after an incomplete make clean
2018-02-28 01:51:17 +00:00
Igor Cota
f7097c76bd
Pass the HOST and BUILD environment vars to the external submodules configurators. Needed to cross-compile
2018-02-16 17:50:38 +01:00
Rusty Russell
7db88f0b8a
external: make submodule hacks more general, and common.
...
We can't rely on the existence or not of a header, as Carl's
delete-and-make-submodule change showed.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2018-01-29 06:21:07 +00:00
Carl Dong
e624046c74
external/Makefile: Initialize/update libwally-core submodule.
2018-01-29 06:21:07 +00:00
Rusty Russell
c22d2c8dae
Makefile: rebuild all objects if Makefile changes.
...
This doesn't cover external libs in general (which *could* be effected by
CFLAGS), but at least all our own objects are rebuilt.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2018-01-22 18:58:23 +01:00
Rusty Russell
af7e6158af
Makefile: clean needs to do more, distclean should remove everything.
...
I checked this with git status --ignored after a full build and 'make distclean'.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2017-11-24 13:29:03 +01:00
Rusty Russell
a02ca46b03
secp256k1_ecdsa_recoverable_signature: add support.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2017-11-01 01:09:23 +00:00
Rusty Russell
dba27188b7
external/libbacktrace: new external library for backtrace support.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2017-09-12 23:00:53 +02:00
Rusty Russell
739b163f8b
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 >
2017-08-29 17:54:14 +02:00
Rusty Russell
f42f34b82d
external: new subdirectory for all external libraries and submodules.
...
You will want to 'make distclean' after this.
I also removed libsecp; we use the one in in libwally anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2017-08-29 17:54:14 +02:00