summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6cf95e3..1d848c3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
+FLAGS=-ggdb -O0 -fno-builtin -Wall -lcurses
+
jet: Makefile *.c
- gcc -ggdb -O0 -fno-builtin -Wall -lcurses jet.c -o ./bin/jet
+ gcc $(FLAGS) jet.c -o ./bin/jet
page: Makefile page.c ./test/page.c
- gcc -lcurses ./test/page.c -o ./bin/page
+ gcc $(FLAGS) ./test/page.c -o ./bin/page