2017-08-28 18:04:01 +02:00
|
|
|
LIGHTNING_CLI_SRC := cli/lightning-cli.c
|
|
|
|
LIGHTNING_CLI_OBJS := $(LIGHTNING_CLI_SRC:.c=.o)
|
|
|
|
|
2020-08-31 03:13:25 +02:00
|
|
|
ALL_C_SOURCES += $(LIGHTNING_CLI_SRC)
|
|
|
|
ALL_C_HEADERS +=
|
|
|
|
ALL_PROGRAMS += cli/lightning-cli
|
|
|
|
|
2017-08-28 18:04:01 +02:00
|
|
|
LIGHTNING_CLI_COMMON_OBJS := \
|
2019-11-23 02:45:53 +01:00
|
|
|
bitcoin/chainparams.o \
|
2017-08-28 18:04:01 +02:00
|
|
|
common/configdir.o \
|
|
|
|
common/json.o \
|
2020-01-26 13:07:50 +01:00
|
|
|
common/json_stream.o \
|
2018-10-19 03:17:48 +02:00
|
|
|
common/utils.o \
|
2020-05-15 12:30:25 +02:00
|
|
|
common/version.o
|
2017-08-28 18:04:01 +02:00
|
|
|
|
2020-08-31 03:13:25 +02:00
|
|
|
$(LIGHTNING_CLI_OBJS): $(JSMN_HEADERS) $(COMMON_HEADERS) $(CCAN_HEADERS)
|
2017-08-28 18:04:01 +02:00
|
|
|
|
|
|
|
cli/lightning-cli: $(LIGHTNING_CLI_OBJS) $(LIGHTNING_CLI_COMMON_OBJS) $(JSMN_OBJS) $(CCAN_OBJS)
|
|
|
|
|
2018-01-20 05:37:31 +01:00
|
|
|
include cli/test/Makefile
|