21 lines
426 B
Makefile
21 lines
426 B
Makefile
#
|
|
# Build a little app 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
|
|
LIBCURL = -L../lib/.libs/ -lcurl
|
|
CFLAGS = -I../include -g -DHAVE_CURL_MULTI_SOCKET
|
|
|
|
hiper: hiper.o $(LIBCURL)
|
|
$(CC) -o $@ $< $(LIBCURL) $(LDFLAGS)
|
|
|
|
hiper.o: hiper.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
clean:
|
|
rm hiper.o hiper
|
|
|
|
$(LIBCURL):
|
|
(cd ../lib && make)
|