initial release

This commit is contained in:
vrd
2023-03-01 10:10:39 +02:00
parent b9151efc13
commit 199a8b527c
6 changed files with 71 additions and 52 deletions
+7 -11
View File
@@ -1,10 +1,6 @@
#!/bin/sh
set -e
# cp tft_create /usr/local/bin
cd src
language='
-std=c++17
-fno-rtti
@@ -17,22 +13,22 @@ optimizations='
-Ofast
-flto
-fipa-pta
-fallow-store-data-races
-fgcse-sm
-fgcse-las
-march=native'
warnings='
-Wall
-Wextra
-Wpedantic
-Wmultiple-inheritance
-Wvirtual-inheritance' #-fanalyzer
-Wextra'
# -Wpedantic' #-fanalyzer
other='-fno-fat-lto-objects'
g++ -o tft $language $optimizations $warnings $other -DNDEBUG -pipe -s tft.cpp tree.cpp person.cpp utils.cpp -lncursesw
cd src
g++ -o tft $language $optimizations $warnings $other -DNDEBUG -pipe -s *.cpp -lncursesw
#-static -lncursesw -ltinfo
chmod 775 tft
exec mv tft /usr/local/bin
#-static -lncursesw -ltinfo