aboutsummaryrefslogtreecommitdiff
path: root/hiper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hiper/Makefile')
-rw-r--r--hiper/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/hiper/Makefile b/hiper/Makefile
new file mode 100644
index 000000000..7989d060a
--- /dev/null
+++ b/hiper/Makefile
@@ -0,0 +1,20 @@
+#
+# 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)