summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7ead0a1..e845244 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-FLAGS=-ggdb -O0
+FLAGS=-ggdb -O0 -I ./src/
_PHONY=all
all:jet jetc
-jet: Makefile src/jet.cpp src/server/*.cpp src/common/*.cpp
- g++ $(FLAGS) src/jet.cpp -o $@
+jet: Makefile src/server/*.cpp src/common/*.cpp
+ g++ $(FLAGS) src/server/jet.cpp -o $@
-jetc: Makefile src/jetc.cpp src/client/*.cpp src/common/*.cpp
- g++ $(FLAGS) src/jetc.cpp -o $@ $(shell pkg-config --cflags --libs ncurses)
+jetc: Makefile src/client/*.cpp src/common/*.cpp
+ g++ $(FLAGS) src/client/jetc.cpp -o $@ $(shell pkg-config --cflags --libs ncurses)