diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-10-19 17:10:01 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-10-19 21:24:24 +0200 |
commit | e245ab48ec8f766e589771b976761a0a41b6442d (patch) | |
tree | a1412036f29a8d6fce9a0e1f08aa5c2c8ebd6596 /Makefile | |
parent | 206868de060bbfeb2745dad2f410691ad2fc62f8 (diff) |
Added header file and example for usage from libev
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -61,11 +61,14 @@ test: hiredis-test libevent-example: extra/hiredis/libevent.h libevent-example.c ${DYLIBNAME} $(CC) -o $@ $(CCOPT) $(DEBUG) -I. -Iextra -L. -lhiredis -levent libevent-example.c +libev-example: extra/hiredis/libev.h libev-example.c ${DYLIBNAME} + $(CC) -o $@ $(CCOPT) $(DEBUG) -I. -Iextra -L. -lhiredis -lev libev-example.c + .c.o: $(CC) -c $(CFLAGS) $(DEBUG) $(COMPILE_TIME) $< clean: - rm -rf ${DYLIBNAME} ${STLIBNAME} $(BINS) libevent-example *.o *.gcda *.gcno *.gcov + rm -rf ${DYLIBNAME} ${STLIBNAME} $(BINS) *-example *.o *.gcda *.gcno *.gcov dep: $(CC) -MM *.c |