supernova: c++11 compile fix
[supercollider.git] / platform / mac / clean-compile.sh
blobd5fe361a0b213eec30c9cf7ec000eca40d0b8b9b
1 #!/bin/sh
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:
6 if [ $# == 0 ]; then
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 --------------------------------------------------------------------------------
17 # clean
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
27 echo "Clean Done."
29 # Now let compile.sh do its job:
30 ./compile.sh $*