curl/hiper/Makefile

39 lines
728 B
Makefile
Raw Normal View History

#
2006-04-25 00:40:20 +02:00
# Build test apps for the Hiper project
# During dev at least, we use a static libcurl.
#
2006-04-25 00:40:20 +02:00
LDFLAGS = -lcrypt -lidn -lssl -lcrypto -ldl -lz -lresolv -L../ares/.libs \
-lcares
LIBCURL = -L../lib/.libs/ -lcurl
2006-04-10 16:58:38 +02:00
CFLAGS = -I../include -g
2006-04-25 00:40:20 +02:00
all: shiper hiper hipev ulimiter
2005-12-09 11:41:27 +01:00
hiper: hiper.o $(LIBCURL)
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
hiper.o: hiper.c
$(CC) $(CFLAGS) -c $<
2006-04-25 00:40:20 +02:00
hipev: hipev.o $(LIBCURL)
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS) -levent
hipev.o: hipev.c
$(CC) $(CFLAGS) -c $<
shiper: shiper.o $(LIBCURL)
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
shiper.o: shiper.c
$(CC) $(CFLAGS) -c $<
2005-12-09 11:41:27 +01:00
ulimiter: ulimiter.c
$(CC) -o $@ $<
clean:
rm -f hiper.o hiper shiper shiper.o *~ ulimiter
$(LIBCURL):
(cd ../lib && make)