From 5a38356cc4133c581f2935b38e12abb2a2037419 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Sat, 25 Sep 2010 22:34:22 +0200 Subject: Add example for non-blocking usage of hiredis with libevent --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f9103a5..486f897 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,9 @@ hiredis-%: %.o ${DYLIBNAME} test: hiredis-test ./hiredis-test +libevent-example: libevent-example.c ${DYLIBNAME} + $(CC) -o $@ $(CCOPT) $(DEBUG) -L. -lhiredis -levent libevent-example.c + .c.o: $(CC) -c $(CFLAGS) $(DEBUG) $(COMPILE_TIME) $< -- cgit v1.2.3