aboutsummaryrefslogtreecommitdiff
path: root/hiper/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-06 13:56:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-06 13:56:28 +0000
commit1eb4b85d72c4bb4f56863b374bacf5b095308365 (patch)
treefc1c30f242aee323f39d75b993a09dab09c9aee3 /hiper/Makefile
parent59b6cb9e917f9547a14f1bd465374a542c5b5a7e (diff)
ok, these are the test build I've used so far
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)