From 6dacabe813f4ccab33669b5dd3e3b5f61be500af Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 20 Dec 2004 05:06:19 +0000 Subject: simplified make system updated make system for BCC updated make system updated build system svn path=/trunk/; revision=2416 --- externals/grill/flext/build.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 externals/grill/flext/build.sh (limited to 'externals/grill/flext/build.sh') diff --git a/externals/grill/flext/build.sh b/externals/grill/flext/build.sh new file mode 100644 index 00000000..a0969965 --- /dev/null +++ b/externals/grill/flext/build.sh @@ -0,0 +1,34 @@ +flext=${0%/*}/ +if [ "$flext" = "$0"/ ]; then flext=./ ; fi + +# Arguments: +# $1 - platform (win/lnx/mac) +# $2 - system (pd/max) +# $3 - compiler (msvc/gcc/mingw/cygwin/bcc/icc) +# $4 - target (all/all-debug/all-shared/all-shared-debug/clean/install) + +platform=$1 +rtsys=$2 +compiler=$3 +target=$4 + +# --- The subbatch knowns which make utility to use --- +subbatch=${flext}buildsys/build-${compiler}.sh + +if + [ -n "$platform" -a -n "$rtsys" -a -n "$compiler" -a -f $subbatch ] +then + sh $subbatch $platform $rtsys $target $5 $6 $7 $8 $9 +else + echo + echo SYNTAX: build.sh [platform] [system] [compiler] {target} + echo platform ... win / lnx / mac + echo system ..... pd / max + echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc + echo target ..... all \(default\) / all-debug / all-shared / all-shared-debug / + echo ............ clean / install + echo + echo Please make sure that your make program and compiler can be accessed with the + echo system path and that all relevant environment variables are properly set. +fi + -- cgit v1.2.1