summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-17 23:31:57 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-17 23:31:57 -0300
commite9122394f97d54a6b28b4dd52db24e22cb1ab340 (patch)
treeaefb94d3c11daca71b52757a2d52a414a7a8f5ab /Makefile
parentd608bef678fa97b3af910fa62598c55f33650825 (diff)
downloadjet-e9122394f97d54a6b28b4dd52db24e22cb1ab340.tar.gz
jet-e9122394f97d54a6b28b4dd52db24e22cb1ab340.zip
Move main files into subdirectories
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)