annotate misc/superconfigure @ 534:8d0d4ae4b592 with-dependencies

Build dataquay lib only (don't try to build tests when building as subrepo, as linking them may be fiddly)
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Mon, 25 Mar 2013 15:16:47 +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"