From 7620a0b1c080f7b6315e796d29e324bdca98484b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Sat, 18 Jul 2020 00:10:04 -0300 Subject: Make debug and release versions --- src/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/Makefile') 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) -- cgit v1.2.3