X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1adb53e896797c73b5528ee178bd73ff51be2c43..9324854ca8e3b5e09a16010e14860b530d68405f:/projects/stargazer/build diff --git a/projects/stargazer/build b/projects/stargazer/build index 8a34c4fc..a323148b 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -35,23 +35,15 @@ MIN_XMLRPCC_VERSION="1.06.27" XMLRPC_FEATURES="c++2 abyss-server" -if [ -z "$1" ] +if [ "$1" = "debug" ] then + DEFS="$DEFS -DDEBUG" + MAKEOPTS="$MAKEOPTS -j1" + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall" + DEBUG="yes" +else DEFS="$DEFS -DNDEBUG" - MAKEOPTS="-j1" DEBUG="no" -else - if [ "$1" = "debug" ] - then - DEFS="$DEFS -DDEBUG" - MAKEOPTS="-j1" - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall" - DEBUG="yes" - else - DEFS="$DEFS -DNDEBUG" - MAKEOPTS="-j1" - DEBUG="no" - fi fi CXXFLAGS="$CXXFLAGS -I/usr/local/include"