aboutsummaryrefslogtreecommitdiff
path: root/sc4pd/build-pd-darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sc4pd/build-pd-darwin.sh')
-rwxr-xr-xsc4pd/build-pd-darwin.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/sc4pd/build-pd-darwin.sh b/sc4pd/build-pd-darwin.sh
new file mode 100755
index 0000000..38814a9
--- /dev/null
+++ b/sc4pd/build-pd-darwin.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+SYS=pd-darwin
+
+. config-${SYS}.txt
+
+make -f makefile.${SYS} &&
+{
+ if [ $INSTDIR != "" ]; then
+ echo Now install as root
+ sudo make -f makefile.${SYS} install
+ fi
+ if [ $HELPDIR != "" ]; then
+ echo Now install help as root
+ sudo make -f makefile.${SYS} install-help
+ fi
+}