Mercurial > hg > qcc
changeset 559:ba7d2de6912b
Add "all" target, and require user to specify the target they want to build.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 08 Mar 2008 12:06:21 -0600 |
parents | f6f562aa387f |
children | 0bbaf23acb77 |
files | make/make.sh |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/make.sh Sat Mar 08 12:04:18 2008 -0600 +++ b/make/make.sh Sat Mar 08 12:06:21 2008 -0600 @@ -63,7 +63,13 @@ [ $# -ne 0 ] && TARGETS="$@" [ "$TARGETS" == "native" ] && TARGETS="$HOST" -[ -z "$TARGETS" ] && TARGETS="i386" # arm c67 win32 +[ "$TARGETS" == "all" ] && TARGETS="i386 arm c67 win32" +if [ -z "$TARGETS" ] +then + echo "Usage: make.sh TARGET [TARGET...]" >&2 + echo "Targets: i386 arm c67 win32 (all native)" >&2 + exit 1 +fi # Build each architecture