From e9122394f97d54a6b28b4dd52db24e22cb1ab340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Fri, 17 Jul 2020 23:31:57 -0300 Subject: Move main files into subdirectories --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3