summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 68c1598..57583ae 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,8 @@
+CFLAGS += -fno-split-stack
+CFLAGS += -Wall -Wextra -Werror
+CFLAGS += -g -O0
+LDFLAGS += -static
+
srv9p: srv9p.o coroutine.o net9p.o
net9p_defs.h net9p_defs.c: net9p_defs.gen net9p_defs.txt