cln/plugins/xpay/Makefile
Rusty Russell c168f6a7fe libplugin: support multi options.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: libplugin: support for options which accumulate if specified more than once ("multi": true).
2026-02-23 19:05:37 +10:30

15 lines
461 B
Makefile

PLUGIN_XPAY_SRC := \
plugins/xpay/xpay.c
PLUGIN_XPAY_HDRS :=
PLUGIN_XPAY_OBJS := $(PLUGIN_XPAY_SRC:.c=.o)
# Make sure these depend on everything.
ALL_C_SOURCES += $(PLUGIN_XPAY_SRC)
ALL_C_HEADERS += $(PLUGIN_XPAY_HDRS)
# Make all plugins depend on all plugin headers, for simplicity (and this file)
$(PLUGIN_XPAY_OBJS): $(PLUGIN_XPAY_HDRS) $(PLUGIN_LIB_HEADER) plugins/xpay/Makefile
plugins/cln-xpay: $(PLUGIN_XPAY_OBJS) $(PLUGIN_LIB_OBJS) libcommon.a