mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
added the hipev build
This commit is contained in:
parent
a8dddeab61
commit
c91e25518f
@ -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.
|
# 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
|
LIBCURL = -L../lib/.libs/ -lcurl
|
||||||
CFLAGS = -I../include -g
|
CFLAGS = -I../include -g
|
||||||
|
|
||||||
all: shiper hiper ulimiter
|
all: shiper hiper hipev ulimiter
|
||||||
|
|
||||||
hiper: hiper.o $(LIBCURL)
|
hiper: hiper.o $(LIBCURL)
|
||||||
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
|
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
|
||||||
@ -15,6 +16,12 @@ hiper: hiper.o $(LIBCURL)
|
|||||||
hiper.o: hiper.c
|
hiper.o: hiper.c
|
||||||
$(CC) $(CFLAGS) -c $<
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
||||||
|
hipev: hipev.o $(LIBCURL)
|
||||||
|
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS) -levent
|
||||||
|
|
||||||
|
hipev.o: hipev.c
|
||||||
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
||||||
shiper: shiper.o $(LIBCURL)
|
shiper: shiper.o $(LIBCURL)
|
||||||
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
|
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user