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