X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=makemac.sh;h=2c8c2f8c031030ca2f1897fb43693f778211f3ac;hb=63346e1121a55ac8673277207f3fee38b4219f5a;hp=d7f8d117fe2c98ffd44fe89e5fcc4e4a7a948029;hpb=a7c43f7122886855dce21603361766000f622288;p=lugaru.git diff --git a/makemac.sh b/makemac.sh index d7f8d11..2c8c2f8 100755 --- a/makemac.sh +++ b/makemac.sh @@ -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