mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-25 16:54:20 +01:00
wire: Linking against wire objs
This commit is contained in:
committed by
Rusty Russell
parent
36e018161f
commit
e40509c6c3
5
Makefile
5
Makefile
@@ -44,6 +44,7 @@ CORE_SRC := \
|
||||
protobuf_convert.c \
|
||||
utils.c \
|
||||
version.c
|
||||
|
||||
CORE_OBJS := $(CORE_SRC:.c=.o)
|
||||
|
||||
CCAN_OBJS := \
|
||||
@@ -254,7 +255,7 @@ secp256k1/libsecp256k1.la:
|
||||
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
|
||||
|
||||
$(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
|
||||
if $< > $@.new; then mv $@.new $@; else rm $@.new; exit 1; fi
|
||||
@@ -317,7 +318,7 @@ maintainer-clean: distclean
|
||||
$(RM) doc/deployable-lightning.pdf
|
||||
$(RM) $(MANPAGES)
|
||||
|
||||
clean: daemon-clean
|
||||
clean: daemon-clean wire-clean
|
||||
$(MAKE) -C secp256k1/ clean || true
|
||||
$(RM) libsecp256k1.{a,la}
|
||||
$(RM) $(PROGRAMS)
|
||||
|
||||
Reference in New Issue
Block a user