]> git.jsancho.org Git - lugaru.git/blobdiff - makemac.sh
Removing GL headers we don't need.
[lugaru.git] / makemac.sh
index d7f8d117fe2c98ffd44fe89e5fcc4e4a7a948029..1afe20286ee027f48f1d3264794ddc826de81377 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 Data/lugaru-$arch
+    BINS="$BINS Data/lugaru-$arch"
 done
 
-rm -f run/lugaru-bin
-lipo -create -o run/lugaru-bin $BINS
+rm -f Data/lugaru-bin
+lipo -create -o Data/lugaru-bin $BINS