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