diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-25 22:34:22 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-25 22:34:22 +0200 |
commit | 5a38356cc4133c581f2935b38e12abb2a2037419 (patch) | |
tree | d45f9c91205fb05e04d06003a04fb812da450625 /Makefile | |
parent | 1c245845eda46512ed3eb5f7e502c3b7f535ac89 (diff) |
Add example for non-blocking usage of hiredis with libevent
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) $< |