fixes to mac

main
Vladyslav Hrytsenko 2024-07-31 23:39:02 +03:00
parent 6f9433b743
commit 2a4784dd06
1 changed files with 7 additions and 3 deletions

10
MAKE.sh
View File

@ -75,15 +75,19 @@ while [ $# -ge 1 ]; do
fi fi
if [ "$1" = "dbg" ]; then if [ "$1" = "dbg" ]; then
export build=dbg export build=dbg
export flags="-O0 -g" export flags="-O0 -g -DDEBUG"
fi fi
if [ "$1" = "dev" ]; then if [ "$1" = "dev" ]; then
export build=dev export build=dev
export flags="-O1 -g" export flags="-O0 -g -DNDEBUG=1"
fi
if [ "$1" = "ret" ]; then
export build=ret
export flags="-O3 -DNDEBUG=3 -DENABLE_RETAIL"
fi fi
if [ "$1" = "rel" ]; then if [ "$1" = "rel" ]; then
export build=rel export build=rel
export flags="-O3 -DNDEBUG" export flags="-O3 -DNDEBUG=2"
fi fi
if [ "$1" = "gcc" ]; then if [ "$1" = "gcc" ]; then
export cc=gcc export cc=gcc