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
