fixes to mac
parent
6f9433b743
commit
2a4784dd06
10
MAKE.sh
10
MAKE.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue