|
@ -44,6 +44,7 @@ CORE_SRC := \ |
|
|
protobuf_convert.c \
|
|
|
protobuf_convert.c \
|
|
|
utils.c \
|
|
|
utils.c \
|
|
|
version.c |
|
|
version.c |
|
|
|
|
|
|
|
|
CORE_OBJS := $(CORE_SRC:.c=.o) |
|
|
CORE_OBJS := $(CORE_SRC:.c=.o) |
|
|
|
|
|
|
|
|
CCAN_OBJS := \
|
|
|
CCAN_OBJS := \
|
|
@ -254,7 +255,7 @@ secp256k1/libsecp256k1.la: |
|
|
lightning.pb-c.c lightning.pb-c.h: lightning.proto |
|
|
lightning.pb-c.c lightning.pb-c.h: lightning.proto |
|
|
@if $(CHANGED_FROM_GIT); then echo $(PROTOCC) lightning.proto --c_out=.; $(PROTOCC) lightning.proto --c_out=.; else touch $@; fi |
|
|
@if $(CHANGED_FROM_GIT); then echo $(PROTOCC) lightning.proto --c_out=.; $(PROTOCC) lightning.proto --c_out=.; else touch $@; fi |
|
|
|
|
|
|
|
|
$(TEST_PROGRAMS): % : %.o $(BITCOIN_OBJS) $(CCAN_OBJS) utils.o version.o libsecp256k1.a |
|
|
$(TEST_PROGRAMS): % : %.o $(BITCOIN_OBJS) $(WIRE_OBJS) $(CCAN_OBJS) utils.o version.o libsecp256k1.a |
|
|
|
|
|
|
|
|
ccan/config.h: ccan/tools/configurator/configurator |
|
|
ccan/config.h: ccan/tools/configurator/configurator |
|
|
if $< > $@.new; then mv $@.new $@; else rm $@.new; exit 1; fi |
|
|
if $< > $@.new; then mv $@.new $@; else rm $@.new; exit 1; fi |
|
@ -317,7 +318,7 @@ maintainer-clean: distclean |
|
|
$(RM) doc/deployable-lightning.pdf |
|
|
$(RM) doc/deployable-lightning.pdf |
|
|
$(RM) $(MANPAGES) |
|
|
$(RM) $(MANPAGES) |
|
|
|
|
|
|
|
|
clean: daemon-clean |
|
|
clean: daemon-clean wire-clean |
|
|
$(MAKE) -C secp256k1/ clean || true |
|
|
$(MAKE) -C secp256k1/ clean || true |
|
|
$(RM) libsecp256k1.{a,la} |
|
|
$(RM) libsecp256k1.{a,la} |
|
|
$(RM) $(PROGRAMS) |
|
|
$(RM) $(PROGRAMS) |
|
|