From a48d08b7cd7875974186fde7b68fd0a25403ed03 Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Thu, 7 Aug 2008 00:27:51 +0200
Subject: [PATCH] Minor fixes

---
 build.sh                      | 4 ++--
 src/starsphere/Makefile.macos | 2 +-
 src/starsphere/Makefile.mingw | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build.sh b/build.sh
index b0f7029..baf5a93 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 fee64ee..772d29e 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 866fe56..d1cc6c4 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_*
-- 
GitLab