Update for renamed libfile
[supercollider.git] / compile.sh
blob2d3ebef2fb66652dac6145871542f2dcda752956
1 #!/bin/sh
3 # This script builds the server, the plugins and the application (sclang), 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 # scsynth
16 echo "Building scsynth..."
17 xcodebuild -project Synth.xcodeproj -target "AllExceptAU" -configuration "Deployment" $* build || exit
19 # plugins
20 echo "Building plugins..."
21 xcodebuild -project Plugins.xcodeproj -target "All" -configuration "Deployment" $* build || exit
23 #sclang
24 echo "Building sclang..."
25 xcodebuild -project Language.xcodeproj -target "All" -configuration "Deployment" $* build || exit
27 # scau
28 echo "Building SuperColliderAU..."
29 xcodebuild -project Synth.xcodeproj -target "SuperColliderAU" -configuration "Deployment" $* build || exit
31 echo "Done."