summaryrefslogtreecommitdiffstats
path: root/client/client.mk
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.mk')
-rw-r--r--client/client.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/client.mk b/client/client.mk
new file mode 100644
index 0000000..f303945
--- /dev/null
+++ b/client/client.mk
@@ -0,0 +1,14 @@
+# Experimental client requires libedit
+
+ifeq ($(HAS_libedit), yes)
+kresc_SOURCES := client/kresc.c
+kresc_CFLAGS += -fPIE $(libedit_CFLAGS)
+kresc_LIBS += $(contrib_TARGET) $(libedit_LIBS)
+kresc_DEPEND := $(libkres) $(contrib)
+$(eval $(call make_sbin,kresc,client,yes))
+client: $(kresc)
+client-install: kresc-install
+client-clean: kresc-clean
+
+endif
+.PHONY: client client-install client-clean