]> git.jsancho.org Git - lugaru.git/blobdiff - makemac.sh
Commented out usage of header in OpenGL headers because it broke MSVC
[lugaru.git] / makemac.sh
index d7f8d117fe2c98ffd44fe89e5fcc4e4a7a948029..2c8c2f8c031030ca2f1897fb43693f778211f3ac 100755 (executable)
@@ -6,11 +6,13 @@ set -x
 NCPU=`sysctl -n hw.ncpu`
 
 for arch in ppc i386 x86_64 ; do
-    make macosx=true macosx_arch=$arch clean
-    make macosx=true macosx_arch=$arch -j$NCPU
-    BINS="$BINS run/lugaru-$arch"
+    make -f makefile.old macosx=true macosx_arch=$arch clean
+    make -f makefile.old macosx=true macosx_arch=$arch -j$NCPU
+    # We always strip here. For debugging, you should do "make" directly.
+    strip ./lugaru-$arch
+    BINS="$BINS ./lugaru-$arch"
 done
 
-rm -f run/lugaru-bin
-lipo -create -o run/lugaru-bin $BINS
+rm -f ./lugaru-bin
+lipo -create -o ./lugaru-bin $BINS