From c18a5648181801aa6fddd1856940b7dd20cdf74a Mon Sep 17 00:00:00 2001 From: Dmitry Bakhvalov Date: Mon, 13 Jul 2015 20:26:41 +0300 Subject: Added MacOS X addapter and corresponding example. Added MacOS X support via CoreFoundation run loop. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 97cdc8a..b15b725 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,9 @@ hiredis-example-glib: examples/example-glib.c adapters/glib.h $(STLIBNAME) hiredis-example-ivykis: examples/example-ivykis.c adapters/ivykis.h $(STLIBNAME) $(CC) -o examples/$@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I. $< -livykis $(STLIBNAME) +hiredis-example-macosx: examples/example-macosx.c adapters/macosx.h $(STLIBNAME) + $(CC) -o examples/$@ $(REAL_CFLAGS) $(REAL_LDFLAGS) -I. $< -framework CoreFoundation $(STLIBNAME) + ifndef AE_DIR hiredis-example-ae: @echo "Please specify AE_DIR (e.g. /src)" -- cgit v1.2.3