comparison misc/superconfigure @ 416:9f25742b5953 templating

Merge from default branch
author Chris Cannam
date Wed, 27 Apr 2011 11:33:28 +0100
parents ba928954e640
children
comparison
equal deleted inserted replaced
371:23f2ee395cf7 416:9f25742b5953
1 #!/bin/sh
2 subdirs="svcore svgui svapp sonic-visualiser"
3 echo
4 echo " *** Preparing to configure in: $subdirs"
5 echo
6 for dir in $subdirs; do
7 echo " *** Configuring in: $dir"
8 echo
9 ( cd "$dir" && ./configure "$@" ) || exit 1
10 echo
11 done
12 cat > Makefile <<EOF
13 TARGETS = sub-svcore sub-svgui sub-svapp sub-sonic-visualiser
14 all: \$(TARGETS)
15 sub-svcore:
16 \$(MAKE) --directory=svcore
17 sub-svgui:
18 \$(MAKE) --directory=svgui
19 sub-svapp:
20 \$(MAKE) --directory=svapp
21 sub-sonic-visualiser:
22 \$(MAKE) --directory=sonic-visualiser
23 EOF
24 echo " *** Generated Makefile"