aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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