annotate misc/superconfigure @ 403:ba928954e640

Add targets!
author Chris Cannam
date Wed, 09 Feb 2011 15:50:04 +0000
parents a489da374be1
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"