X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1adb53e896797c73b5528ee178bd73ff51be2c43..f19e92103c3b337e80c8e3b598b468d6ab14c154:/projects/stargazer/build?ds=inline 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"