diff --git a/build.sh b/build.sh index b0f70295971f870c6ab02664c30b91f159d50f5b..baf5a93f2d2cf814c25ce4a63a1a0de37f486d2e 100755 --- a/build.sh +++ b/build.sh @@ -452,7 +452,7 @@ build_starsphere() else cp -f $ROOT/src/starsphere/Makefile . >> $LOGFILE 2>&1 || failure fi - make $1 >> $LOGFILE 2>&1 || failure + make $2 >> $LOGFILE 2>&1 || failure make install >> $LOGFILE 2>&1 || failure echo "Successfully built and installed Starsphere [Application]!" | tee -a $LOGFILE @@ -590,7 +590,7 @@ case "$1" in "--starsphere") # "hidden" bonus option :-) TARGET=$TARGET_LINUX - build_starsphere "debug" || failure + build_starsphere "" "debug" || failure exit 0 ;; *) diff --git a/src/starsphere/Makefile.macos b/src/starsphere/Makefile.macos index fee64eebf481629bcbc1a789a64fcd9d14854a3c..772d29eec77b618ef05ccd8dd493bc758aa3cdd4 100644 --- a/src/starsphere/Makefile.macos +++ b/src/starsphere/Makefile.macos @@ -109,4 +109,4 @@ install: cp starsphere_* $(STARSPHERE_INSTALL)/bin clean: - rm -f $(RESOURCESPEC).cpp $(OBJS) starsphere + rm -f $(RESOURCESPEC).cpp $(OBJS) starsphere_* diff --git a/src/starsphere/Makefile.mingw b/src/starsphere/Makefile.mingw index 866fe56b16346b46c469465764fac41ab5edf820..d1cc6c4d5ee410410bcadb4f6b30994a948a05d9 100644 --- a/src/starsphere/Makefile.mingw +++ b/src/starsphere/Makefile.mingw @@ -109,4 +109,4 @@ install: cp starsphere_* $(STARSPHERE_INSTALL)/bin clean: - rm -f $(RESOURCESPEC).cpp $(OBJS) starsphere + rm -f $(RESOURCESPEC).cpp $(OBJS) starsphere_*