mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
36200a6593
These are gathered from the config files and the commandline, but the process is rather complex! We want to remember where the options came from in future (for a `setconfig` command), and also generalize and simplify handling. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
22 lines
582 B
Makefile
22 lines
582 B
Makefile
LIGHTNING_CLI_SRC := cli/lightning-cli.c
|
|
LIGHTNING_CLI_OBJS := $(LIGHTNING_CLI_SRC:.c=.o)
|
|
|
|
ALL_C_SOURCES += $(LIGHTNING_CLI_SRC)
|
|
ALL_C_HEADERS +=
|
|
ALL_PROGRAMS += cli/lightning-cli
|
|
|
|
LIGHTNING_CLI_COMMON_OBJS := \
|
|
bitcoin/chainparams.o \
|
|
common/configdir.o \
|
|
common/configvar.o \
|
|
common/json_parse_simple.o \
|
|
common/status_levels.o \
|
|
common/utils.o \
|
|
common/version.o
|
|
|
|
$(LIGHTNING_CLI_OBJS): $(JSMN_HEADERS) $(COMMON_HEADERS) $(CCAN_HEADERS)
|
|
|
|
cli/lightning-cli: $(LIGHTNING_CLI_OBJS) $(LIGHTNING_CLI_COMMON_OBJS) $(JSMN_OBJS) libccan.a
|
|
|
|
include cli/test/Makefile
|