rm unneccessary inclusion of sndfile header, in FFT_UGens.h
[supercollider.git] / clean-compile.sh
blob21d83ff00cea8e3cdadaf1201eb73a981478d48f
1 #!/bin/sh
3 # This script cleans all targets, then builds the projects for the server, the plugins and the application (sclang) projects, one after another.
5 if [ $# == 0 ]; then
6 echo "--------------------------------------------------------------------------------
7 Building SuperCollider as a UNIVERSAL BINARY (intel + ppc).
8 For faster build, or if you don't have UB versions of the libs (e.g. libsndfile),
9 you may specify your computer's architecture by adding ARCHS=i386 or ARCHS=ppc
10 as a parameter to this script.
11 --------------------------------------------------------------------------------
15 # clean
16 echo "Cleaning scsynth..."
17 xcodebuild -project Synth.xcodeproj -target "All" $* clean || exit
19 echo "Cleaning plugins..."
20 xcodebuild -project Plugins.xcodeproj -target "All" $* clean || exit
22 echo "Cleaning sclang..."
23 xcodebuild -project Language.xcodeproj -target "All" $* clean || exit
25 echo "Clean Done."
27 # scsynth
28 echo "Building scsynth..."
29 xcodebuild -project Synth.xcodeproj -target "AllExceptAU" -configuration "Deployment" $* build || exit
31 # plugins
32 echo "Building plugins..."
33 xcodebuild -project Plugins.xcodeproj -target "All" -configuration "Deployment" $* build || exit
35 #sclang
36 echo "Building sclang..."
37 xcodebuild -project Language.xcodeproj -target "All" -configuration "Deployment" $* build || exit
39 # scau
40 echo "Building SuperColliderAU..."
41 xcodebuild -project Synth.xcodeproj -target "SuperColliderAU" -configuration "Deployment" $* build || exit
43 echo "Done."