aboutsummaryrefslogtreecommitdiff
path: root/msd/src/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'msd/src/build.sh')
-rwxr-xr-xmsd/src/build.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/msd/src/build.sh b/msd/src/build.sh
index b704892..a92f4d5 100755
--- a/msd/src/build.sh
+++ b/msd/src/build.sh
@@ -1,9 +1,20 @@
#!/bin/bash
# build the 3 msd objects using flext and its configuration
+
+# build
cd ../msd
../../../grill/flext/build.sh pd gcc
cd ../msd2D
../../../grill/flext/build.sh pd gcc
cd ../msd3D
../../../grill/flext/build.sh pd gcc
+cd ../src
+
+# move objects
+UNAME=`uname -s`
+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