aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2014-05-26 08:34:25 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2014-05-26 08:34:25 +0300
commit0df03f02f70d674d10bec9eef76bdfc9ed3255f4 (patch)
treec3c2d7ed213ce9eb8ef5dce16ba8289a6c4b8ff5 /Makefile
parentb3941b337f6dc366cbc5c2bb532da50a512e31b0 (diff)
downloadlibuvh-0df03f02f70d674d10bec9eef76bdfc9ed3255f4.tar.gz
libuvh-0df03f02f70d674d10bec9eef76bdfc9ed3255f4.zip
misc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c47d78e..479e14e 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,11 @@ LDFLAGS +=
CPPFLAGS += -Isrc
LDLIBS += -luv
+all: libuvh.a examples
+
+.PHONY: examples
+examples: hello chunked fileserver
+
libuvh.a: src/uvh.o src/http_parser.o src/sds.o
$(AR) rcs $@ $^
@@ -25,3 +30,5 @@ clean:
rm -f examples/*.o
rm -f libuvh.a
rm -f hello
+ rm -f chunked
+ rm -f fileserver