aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-04-24 22:40:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-04-24 22:40:20 +0000
commitc91e25518fc78dfbcc503c5925ea4d265c57a065 (patch)
tree51e2b35a63b3c9e5e35147c8748a70333016dace
parenta8dddeab61d9d812412e355e114a08bb05ae18f0 (diff)
added the hipev build
-rw-r--r--hiper/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/hiper/Makefile b/hiper/Makefile
index 20d1f1d2a..ba3cc0709 100644
--- a/hiper/Makefile
+++ b/hiper/Makefile
@@ -1,13 +1,14 @@
#
-# Build a little app for the Hiper project
+# Build test apps for the Hiper project
# During dev at least, we use a static libcurl.
#
-LDFLAGS = -lcrypt -lidn -lssl -lcrypto -ldl -lz -lresolv -L../ares/.libs -lcares
+LDFLAGS = -lcrypt -lidn -lssl -lcrypto -ldl -lz -lresolv -L../ares/.libs \
+ -lcares
LIBCURL = -L../lib/.libs/ -lcurl
CFLAGS = -I../include -g
-all: shiper hiper ulimiter
+all: shiper hiper hipev ulimiter
hiper: hiper.o $(LIBCURL)
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
@@ -15,6 +16,12 @@ hiper: hiper.o $(LIBCURL)
hiper.o: hiper.c
$(CC) $(CFLAGS) -c $<
+hipev: hipev.o $(LIBCURL)
+ $(CC) -o $@ $< $(LIBCURL) $(LDFLAGS) -levent
+
+hipev.o: hipev.c
+ $(CC) $(CFLAGS) -c $<
+
shiper: shiper.o $(LIBCURL)
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)