summaryrefslogtreecommitdiff
path: root/examples/buildAllExamples.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/buildAllExamples.sh')
-rwxr-xr-xexamples/buildAllExamples.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/buildAllExamples.sh b/examples/buildAllExamples.sh
new file mode 100755
index 0000000..272a329
--- /dev/null
+++ b/examples/buildAllExamples.sh
@@ -0,0 +1,8 @@
+#! /bin/bash
+[ -z $1 ] || TARGET=$1
+[ -z $TARGET ] && TARGET=all
+for i in [012]* Demo; do
+ echo "Building $i";
+ pushd $i && make clean $TARGET;
+ popd;
+done