summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 142f3b2..506bd0c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,11 @@
+FLAGS=-ggdb -O0 -I .
+
_PHONY=all
-all:
- cd .. && make
+all:jet jetc
+
+jet: Makefile server/*.cpp common/*.cpp
+ g++ $(FLAGS) server/jet.cpp -o $@
+
+jetc: Makefile client/*.cpp common/*.cpp
+ g++ $(FLAGS) client/jetc.cpp -o $@ $(shell pkg-config --cflags --libs ncurses)