summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2013-11-30 11:02:14 +0100
committerJan-Erik Rediger <janerik@fnordig.de>2015-07-27 22:48:05 +0200
commit3b153cbf9dda2c61af26ad8df2a31b8a5d6a38c8 (patch)
tree5d08cc94c61c3af9021e257bbf1b50404775137b /Makefile
parent2fc31e74b124962454b46ae3def3addc6b2db090 (diff)
Add an Ivykis adapter
This adds a new adapter and an example for using hiredis with the ivykis async I/O library. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 70b0605..3daadc5 100644
--- a/Makefile
+++ b/Makefile
@@ -95,6 +95,9 @@ hiredis-example-libev: examples/example-libev.c adapters/libev.h $(STLIBNAME)
hiredis-example-glib: examples/example-glib.c adapters/glib.h $(STLIBNAME)
$(CC) -o examples/$@ $(REAL_CFLAGS) $(REAL_LDFLAGS) $(shell pkg-config --cflags --libs glib-2.0) -I. $< $(STLIBNAME)
+hiredis-example-ivykis: examples/example-ivykis.c adapters/ivykis.h $(STLIBNAME)
+ $(CC) -o examples/$@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I. $< -livykis $(STLIBNAME)
+
ifndef AE_DIR
hiredis-example-ae:
@echo "Please specify AE_DIR (e.g. <redis repository>/src)"