aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2010-09-09 10:21:04 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2010-09-09 10:21:04 +0000
commitf62ba930dcabce6666655f675166f40776ba1fd4 (patch)
treed12c06e0daf9e2b120a2cf2a3301ab9570846271
parent99ac64c452f2f0f530fd12af260e25169f7cf592 (diff)
update build script to compile on linux
svn path=/trunk/externals/nusmuk/; revision=14020
-rwxr-xr-xmsd/src/build.sh16
1 files changed, 14 insertions, 2 deletions
diff --git a/msd/src/build.sh b/msd/src/build.sh
index a92f4d5..869e17c 100755
--- a/msd/src/build.sh
+++ b/msd/src/build.sh
@@ -13,8 +13,20 @@ cd ../src
# move objects
UNAME=`uname -s`
-if [ $UNAME==Darwin ]; then
+if [ $UNAME = "Darwin" ]
+then
mv ../msd/pd-darwin/release-single/msd.pd_darwin ../msd/msd.pd_darwin
mv ../msd2D/pd-darwin/release-single/msd2D.pd_darwin ../msd/msd2D.pd_darwin
mv ../msd3D/pd-darwin/release-single/msd3D.pd_darwin ../msd/msd3D.pd_darwin
-fi \ No newline at end of file
+fi
+
+if [ $UNAME = "Linux" ]
+then
+ cd ../msd
+ ../../../grill/flext/build.sh pd gcc install
+ cd ../msd2D
+ ../../../grill/flext/build.sh pd gcc install
+ cd ../msd3D
+ ../../../grill/flext/build.sh pd gcc install
+ cd ../src
+fi