annotate misc/superconfigure @ 490:bc04d651f8a4

Ensure all windows are closed when the main one is (thus exiting the application even if some other windows were still open)
author Chris Cannam
date Thu, 19 Jan 2012 15:36:59 +0000
parents ba928954e640
children
rev   line source
Chris@402 1 #!/bin/sh
Chris@402 2 subdirs="svcore svgui svapp sonic-visualiser"
Chris@402 3 echo
Chris@402 4 echo " *** Preparing to configure in: $subdirs"
Chris@402 5 echo
Chris@402 6 for dir in $subdirs; do
Chris@402 7 echo " *** Configuring in: $dir"
Chris@402 8 echo
Chris@402 9 ( cd "$dir" && ./configure "$@" ) || exit 1
Chris@402 10 echo
Chris@402 11 done
Chris@402 12 cat > Makefile <<EOF
Chris@402 13 TARGETS = sub-svcore sub-svgui sub-svapp sub-sonic-visualiser
Chris@403 14 all: \$(TARGETS)
Chris@402 15 sub-svcore:
Chris@402 16 \$(MAKE) --directory=svcore
Chris@402 17 sub-svgui:
Chris@402 18 \$(MAKE) --directory=svgui
Chris@402 19 sub-svapp:
Chris@402 20 \$(MAKE) --directory=svapp
Chris@402 21 sub-sonic-visualiser:
Chris@402 22 \$(MAKE) --directory=sonic-visualiser
Chris@402 23 EOF
Chris@402 24 echo " *** Generated Makefile"