mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 01:24:42 +01:00
401f1debc5
We have them split over common/param.c, common/json.c, common/json_helpers.c, common/json_tok.c and common/json_stream.c. Change that to: * common/json_parse (all the json_to_xxx routines) * common/json_parse_simple (simplest the json parsing routines, for cli too) * common/json_stream (all the json_add_xxx routines) * common/json_param (all the param and param_xxx routines) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
21 lines
561 B
Makefile
21 lines
561 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/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) $(CCAN_OBJS)
|
|
|
|
include cli/test/Makefile
|