mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 06:54:30 +01:00
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>
This commit is contained in:
committed by
Christian Decker
parent
73c31757e1
commit
c22d2c8dae
4
external/Makefile
vendored
4
external/Makefile
vendored
@@ -49,7 +49,7 @@ external/jsmn/jsmn.h:
|
||||
external/jsmn/jsmn.c: external/jsmn/jsmn.h
|
||||
[ -f $@ ]
|
||||
|
||||
external/jsmn.o: external/jsmn/jsmn.c
|
||||
external/jsmn.o: external/jsmn/jsmn.c Makefile
|
||||
$(COMPILE.c) -DJSMN_STRICT=1 $(OUTPUT_OPTION) $<
|
||||
|
||||
external/libjsmn.a: external/jsmn.o
|
||||
@@ -64,7 +64,7 @@ $(LIBBASE58_HEADERS):
|
||||
[ -f $@ ] || git submodule update --init external/libbase58/
|
||||
|
||||
# Can't be inside submodule, as that makes git think it's dirty.
|
||||
external/base58.o: $(LIBBASE58_SRC)
|
||||
external/base58.o: $(LIBBASE58_SRC) Makefile
|
||||
$(COMPILE.c) $(OUTPUT_OPTION) $<
|
||||
|
||||
external/libbase58.a: external/base58.o
|
||||
|
||||
Reference in New Issue
Block a user