diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-18 00:10:04 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-18 01:56:06 -0300 |
commit | 7620a0b1c080f7b6315e796d29e324bdca98484b (patch) | |
tree | 6eaff4fcfeb5444575bd928c6c69e5001835c9b3 /src/Makefile | |
parent | 0d4a6c89bea0756b314b1b24c5f8f99ccb2ef917 (diff) | |
download | jet-7620a0b1c080f7b6315e796d29e324bdca98484b.tar.gz jet-7620a0b1c080f7b6315e796d29e324bdca98484b.zip |
Make debug and release versions
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
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) |