summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-17 16:23:43 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-17 16:23:43 -0300
commitd608bef678fa97b3af910fa62598c55f33650825 (patch)
tree90f1b4029be89a3ed3c55593b9787371c8037a35 /Makefile
parentc1d93b0bc5a2abcf5e7cadd17ef9db7f57a524fc (diff)
downloadjet-d608bef678fa97b3af910fa62598c55f33650825.tar.gz
jet-d608bef678fa97b3af910fa62598c55f33650825.zip
Restructure source files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index be67256..7ead0a1 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,10 @@ FLAGS=-ggdb -O0
_PHONY=all
-all:jet jet2
+all:jet jetc
-jet: Makefile *.cpp
- g++ $(FLAGS) jet.cpp -o jet
+jet: Makefile src/jet.cpp src/server/*.cpp src/common/*.cpp
+ g++ $(FLAGS) src/jet.cpp -o $@
-jet2: Makefile *.cpp
- g++ $(FLAGS) jet2.cpp -o jet2 $(shell pkg-config --cflags --libs ncurses)
+jetc: Makefile src/jetc.cpp src/client/*.cpp src/common/*.cpp
+ g++ $(FLAGS) src/jetc.cpp -o $@ $(shell pkg-config --cflags --libs ncurses)