mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
c2e56fbb1b
It didn't depend on its own headers, it should also depend on lightningd/lightningd.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
33 lines
858 B
Makefile
33 lines
858 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/invoices.c \
|
|
wallet/txfilter.c \
|
|
wallet/wallet.c \
|
|
wallet/walletrpc.c
|
|
|
|
WALLET_LIB_OBJS := $(WALLET_LIB_SRC:.c=.o)
|
|
WALLET_LIB_HEADERS := $(WALLET_LIB_SRC:.c=.h)
|
|
|
|
# Make sure these depend on everything.
|
|
ALL_OBJS += $(WALLET_LIB_OBJS)
|
|
|
|
$(WALLET_LIB_OBJS): $(LIGHTNINGD_HEADERS_NOGEN) $(WALLET_LIB_HEADERS)
|
|
|
|
check-whitespace: $(WALLET_LIB_SRC:%=check-whitespace/%) $(WALLET_LIB_HEADERS:%=check-whitespace/%)
|
|
check-source: $(WALLET_LIB_SRC:%=check-src-include-order/%)
|
|
check-source: $(WALLET_LIB_HEADERS:%=check-hdr-include-order/%)
|
|
check-source-bolt: $(WALLET_LIB_SRC:%=bolt-check/%) $(WALLET_LIB_HEADERS:%=bolt-check/%)
|
|
|
|
clean: wallet-clean
|
|
|
|
wallet-clean:
|
|
$(RM) $(WALLET_LIB_OBJS)
|
|
|
|
include wallet/test/Makefile
|