save tree to tft dir

This commit is contained in:
vrd
2023-02-21 09:38:09 +02:00
parent 16894e2983
commit ee152edbad
8 changed files with 59 additions and 28 deletions
+3 -2
View File
@@ -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