save tree to tft dir
This commit is contained in:
+3
-2
@@ -1,8 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# cp tft_create /usr/local/bin
|
||||
|
||||
cd src
|
||||
# mkdir -p bin/release
|
||||
|
||||
language='
|
||||
-std=c++17
|
||||
@@ -31,7 +32,7 @@ warnings='
|
||||
|
||||
other='-fno-fat-lto-objects'
|
||||
|
||||
g++ -o tft $language $optimizations $warnings $other -DNDEBUG -pipe -s *.cpp -lncursesw
|
||||
g++ -o tft $language $optimizations $warnings $other -DNDEBUG -pipe -s tft.cpp tree.cpp person.cpp utils.cpp -lncursesw
|
||||
chmod 775 tft
|
||||
exec mv tft /usr/local/bin
|
||||
#-static -lncursesw -ltinfo
|
||||
|
||||
Reference in New Issue
Block a user