core-lightning/wallet/Makefile
Rusty Russell 2931760b5b wallet: move tests into test/ dir like other unit tests.
Trivial move, but makes it easy to add new ones.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-13 22:46:10 +01:00

23 lines
460 B
Makefile

#! /usr/bin/make
# Designed to be run one level up
wallet-wrongdir:
$(MAKE) -C .. lightningd-all
WALLET_LIB_SRC := \
wallet/db.c \
wallet/wallet.c \
wallet/walletrpc.c
WALLET_LIB_OBJS := $(WALLET_LIB_SRC:.c=.o)
WALLET_LIB_HEADERS := $(WALLET_LIB_SRC:.c=.h)
check-whitespace: $(WALLET_LIB_SRC:%=check-whitespace/%) $(WALLET_LIB_HEADERS:%=check-whitespace/%)
clean: wallet-clean
wallet-clean:
$(RM) $(WALLET_LIB_OBJS)
include wallet/test/Makefile