wallet: Add compile dependency on CCAN

This commit is contained in:
Christian Decker 2017-05-31 14:09:37 +02:00 committed by Rusty Russell
parent b1d5283ac7
commit e91aff210e

View File

@ -13,6 +13,8 @@ WALLET_LIB_SRC := \
WALLET_LIB_OBJS := $(WALLET_LIB_SRC:.c=.o) WALLET_LIB_OBJS := $(WALLET_LIB_SRC:.c=.o)
WALLET_LIB_HEADERS := $(WALLET_LIB_SRC:.c=.h) WALLET_LIB_HEADERS := $(WALLET_LIB_SRC:.c=.h)
$(WALLET_LIB_OBJS): $(CCAN_OBJS)
WALLET_TEST_SRC := $(wildcard wallet/*_tests.c) WALLET_TEST_SRC := $(wildcard wallet/*_tests.c)
WALLET_TEST_OBJS := $(WALLET_TEST_SRC:.c=.o) WALLET_TEST_OBJS := $(WALLET_TEST_SRC:.c=.o)
WALLET_TEST_PROGRAMS := $(WALLET_TEST_OBJS:.o=) WALLET_TEST_PROGRAMS := $(WALLET_TEST_OBJS:.o=)