changeset 402:a489da374be1

Configure script for "release" directory containing SV libs + SV
author Chris Cannam
date Wed, 09 Feb 2011 15:48:13 +0000
parents 5f07d41d9bf1
children ba928954e640
files misc/superconfigure
diffstat 1 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/superconfigure	Wed Feb 09 15:48:13 2011 +0000
@@ -0,0 +1,23 @@
+#!/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
+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"