forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (35 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
WALLET_TEST_SRC := $(wildcard wallet/test/run-*.c)
WALLET_TEST_OBJS := $(WALLET_TEST_SRC:.c=.o)
WALLET_TEST_PROGRAMS := $(WALLET_TEST_OBJS:.o=)
ALL_C_SOURCES += $(WALLET_TEST_SRC)
ALL_TEST_PROGRAMS += $(WALLET_TEST_PROGRAMS)
WALLET_TEST_COMMON_OBJS := \
common/amount.o \
common/autodata.o \
common/base32.o \
common/blockheight_states.o \
common/channel_type.o \
common/derive_basepoints.o \
common/features.o \
common/htlc_state.o \
common/htlc_wire.o \
common/fee_states.o \
common/type_to_string.o \
common/memleak.o \
common/node_id.o \
common/onionreply.o \
common/key_derive.o \
common/psbt_keypath.o \
common/pseudorand.o \
common/setup.o \
common/timeout.o \
common/utils.o \
common/utxo.o \
common/wireaddr.o \
common/version.o \
wallet/db_sqlite3_sqlgen.o \
wire/towire.o \
wire/fromwire.o
$(WALLET_TEST_PROGRAMS): $(BITCOIN_OBJS) $(WALLET_TEST_COMMON_OBJS)
$(WALLET_TEST_OBJS): $(WALLET_HDRS) $(WALLET_SRC)
check-units: $(WALLET_TEST_PROGRAMS:%=unittest/%)