summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1f8a372..bfb3df5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,8 @@
1BUILD := debug
2
3cflags.debug := -Wall -o0 -g -DDEBUG=1
4cflags.release := -os -s
5CFLAGS := ${cflags.${BUILD}}
1 6
2test: main 7test: main
3 ./main 8 ./main
@@ -8,5 +13,5 @@ clean:
8 rm -f ./main 13 rm -f ./main
9 14
10%: 15%:
11 $(CC) -pthread -g -o $@ $@.c 16 $(CC) $(CFLAGS) -o $@ $@.c
12 17
..