From e245ab48ec8f766e589771b976761a0a41b6442d Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Tue, 19 Oct 2010 17:10:01 +0200 Subject: Added header file and example for usage from libev --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d3d4f28..3c1b651 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3