From 33e6de5ea2d05f8fadc40d0c86f10b55fa8a057d Mon Sep 17 00:00:00 2001 From: Mengjuei Date: Wed, 5 Oct 2011 01:01:34 -0700 Subject: [PATCH] Making the script to build universal binaries --- Source/Makefile | 6 ++++-- pyInstaller/Makefile | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 pyInstaller/Makefile diff --git a/Source/Makefile b/Source/Makefile index 9769af0e..f9c3bb4e 100644 --- a/Source/Makefile +++ b/Source/Makefile @@ -15,11 +15,13 @@ clean: release: @killall -9 McBopomofo; sleep 2 - xcodebuild -target Lettuce -configuration Release + xcodebuild -target Lettuce -configuration Release \ + -arch i386 -arch x86_64 debug: @killall -9 McBopomofo; sleep 2 - xcodebuild -target Lettuce -configuration Debug + xcodebuild -target Lettuce -configuration Debug \ + -arch i386 -arch x86_64 install: release diff --git a/pyInstaller/Makefile b/pyInstaller/Makefile new file mode 100644 index 00000000..c66752b8 --- /dev/null +++ b/pyInstaller/Makefile @@ -0,0 +1,17 @@ +# Author of this Makefile: +# Mengjuei Hsieh, University of California Irvine + +info: + @echo "This script is for mjhsieh only" + @echo "You need to read the Makefile to see what it's doing" + +clean: + xcodebuild clean + +release: + xcodebuild -target Installer -configuration Release \ + -arch i386 -arch x86_64 + +debug: + xcodebuild -target Installer -configuration Debug \ + -arch i386 -arch x86_64