3 # This script cleans all targets, then invokes compile.sh
5 # Replicate warning from compile.sh, because it's user-friendly for it to be the first output:
7 echo "--------------------------------------------------------------------------------
8 Building SuperCollider as a UNIVERSAL BINARY (intel + ppc).
9 For faster build, or if you don't have UB versions of the libs (e.g. libsndfile),
10 you may specify your computer's architecture by adding ARCHS=i386 or ARCHS=ppc
11 as a parameter to this script.
12 --------------------------------------------------------------------------------
18 echo "Cleaning scsynth..."
19 xcodebuild
-project Synth.xcodeproj
-target "All" $
* clean ||
exit
21 echo "Cleaning plugins..."
22 xcodebuild
-project Plugins.xcodeproj
-target "All" $
* clean ||
exit
24 echo "Cleaning sclang..."
25 xcodebuild
-project Language.xcodeproj
-target "All" $
* clean ||
exit
29 # Now let compile.sh do its job: