diff misc/superconfigure @ 416:9f25742b5953 templating

Merge from default branch
author Chris Cannam
date Wed, 27 Apr 2011 11:33:28 +0100
parents ba928954e640
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/superconfigure	Wed Apr 27 11:33:28 2011 +0100
@@ -0,0 +1,24 @@
+#!/bin/sh
+subdirs="svcore svgui svapp sonic-visualiser"
+echo 
+echo " *** Preparing to configure in: $subdirs"
+echo
+for dir in $subdirs; do
+    echo " *** Configuring in: $dir"
+    echo
+    ( cd "$dir" && ./configure "$@" ) || exit 1
+    echo
+done
+cat > Makefile <<EOF
+TARGETS = sub-svcore sub-svgui sub-svapp sub-sonic-visualiser
+all:	\$(TARGETS)
+sub-svcore:
+	\$(MAKE) --directory=svcore
+sub-svgui:
+	\$(MAKE) --directory=svgui
+sub-svapp:
+	\$(MAKE) --directory=svapp
+sub-sonic-visualiser:
+	\$(MAKE) --directory=sonic-visualiser
+EOF
+echo " *** Generated Makefile"