aboutsummaryrefslogtreecommitdiffstats
path: root/P3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--P3/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/P3/Makefile b/P3/Makefile
new file mode 100644
index 0000000..921a089
--- /dev/null
+++ b/P3/Makefile
@@ -0,0 +1,9 @@
+CC = gcc
+CFLAGS = -D_REENTRANT
+LDFLAGS = -lpthread -pthread
+
+web_server: server.c
+ ${CC} -Wall -o web_server server.c util.o ${LDFLAGS}
+
+clean:
+ rm web_server webserver_log