summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-11 21:36:01 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-11 21:36:01 -0300
commit291748a56824f77b137c66e9879ec0a4ecb14ced (patch)
tree6173461a3799af1f420149cf4c6b3846c1c4323e /Makefile
parentd4cc43aa36c6522aeb170ff46dc25ce50085e75c (diff)
downloadjet-291748a56824f77b137c66e9879ec0a4ecb14ced.tar.gz
jet-291748a56824f77b137c66e9879ec0a4ecb14ced.zip
Link libraries after compiling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 688d2da..be67256 100644
--- a/Makefile
+++ b/Makefile
@@ -8,4 +8,4 @@ jet: Makefile *.cpp
g++ $(FLAGS) jet.cpp -o jet
jet2: Makefile *.cpp
- g++ $(FLAGS) -lncurses -lncursesw $(shell pkg-config --cflags ncurses) jet2.cpp -o jet2
+ g++ $(FLAGS) jet2.cpp -o jet2 $(shell pkg-config --cflags --libs ncurses)