]> Shamusworld >> Repos - virtualjaguar/blobdiff - compile
Added correct OSTYPE for MacOSX
[virtualjaguar] / compile
diff --git a/compile b/compile
index b9d9bcbe5f82b528426a26dceabd3f3a405e7d8d..23ec08c5c0d6639efa47f9591bc2288301f01f94 100644 (file)
--- a/compile
+++ b/compile
@@ -1,4 +1,4 @@
-#!/bin/sh
+#! /bin/sh
 
 #
 # Compile script for Virtual Jaguar GCC/SDL Portable Jaguar Emulator
@@ -6,7 +6,7 @@
 # under the sun...
 #
 # by James L. Hammons
-# 
+#
 # If you have any parameters that you want to pass through to make, then
 # simply add them to the 'compile' command line as if 'compile' were make.
 #
@@ -28,7 +28,7 @@ if [ "$OSTYPE" = "msys" ]; then
 #This doesn't seem to make a difference on Win32...
 #      SDLLIBTYPE=--static-libs
 
-elif [ "$OSTYPE" = "macosx" ]; then
+elif [ "$OSTYPE" = "darwin7.0" ]; then
 
        echo -n Mac OS X
 
@@ -58,3 +58,11 @@ export SYSTYPE EXESUFFIX GLLIB ICON SDLLIBTYPE
 # Yes, you can pass through parameters to make...
 
 make $@
+
+if [ $? -eq 0 ]; then
+
+       echo
+       echo "*** Looks like it compiled OK... Give it a whirl!"
+       echo
+
+fi