initial release
This commit is contained in:
+7
-11
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user