From b1d0383c31cc936710fb9099f6d9e86e7eeae569 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 5 Jan 2005 05:04:55 +0000 Subject: made default configurations generic two more flext tutorials fixes for Max headers cleanups updated build system updated tutorials revised the documentation updated for OSX upgraded version number svn path=/trunk/; revision=2465 --- externals/grill/flext/build.bat | 90 ++++++++++++++++++++++++----------------- 1 file changed, 54 insertions(+), 36 deletions(-) (limited to 'externals/grill/flext/build.bat') diff --git a/externals/grill/flext/build.bat b/externals/grill/flext/build.bat index a0670621..d2fd2fc0 100644 --- a/externals/grill/flext/build.bat +++ b/externals/grill/flext/build.bat @@ -1,40 +1,58 @@ -@set flext=%~dp0 - -@rem Arguments: -@rem %1 - platform (win/lnx/mac) -@rem %2 - system (pd/max) -@rem %3 - compiler (msvc/gcc/mingw/cygwin/bcc/icc) -@rem %4 - target (build/clean/install) - -@set platform=%1 -@set rtsys=%2 -@set compiler=%3 -@set target=%4 - -@rem --- The subbatch knowns which make utility to use --- -@set subbatch=%flext%buildsys\build-%compiler%.bat - -@if "%platform%"=="" goto syntax -@if "%rtsys%"=="" goto syntax -@if "%compiler%"=="" goto syntax - -@if not exist %subbatch% goto syntax - -@call %subpatch% %subbatch% %platform% %rtsys% %target% %5 %6 %7 %8 %9 - -@goto end - -@rem ----------------------------------------- +@echo off + +rem +rem flext - C++ layer for Max/MSP and pd (pure data) externals +rem +rem Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org) +rem For information on usage and redistribution, and for a DISCLAIMER OF ALL +rem WARRANTIES, see the file, "license.txt," in this distribution. +rem +rem more information on http://grrrr.org/ext +rem ------------------------------------------------------------------------ +rem +rem To build flext or flext-based externals simply run this script. +rem Running it without arguments will print some help to the console. +rem +rem ------------------------------------------------------------------------ + +set flext=%~dp0 + +rem Arguments: +rem %1 - platform (win/lnx/mac) +rem %2 - system (pd/max) +rem %3 - compiler (msvc/gcc/mingw/cygwin/bcc/icc) +rem %4 - target (build/clean/install) + +set platform=%1 +set rtsys=%2 +set compiler=%3 +set target=%4 + +rem --- The subbatch knowns which make utility to use --- +set subbatch=%flext%buildsys\build-%compiler%.bat + +if "%platform%"=="" goto syntax +if "%rtsys%"=="" goto syntax +if "%compiler%"=="" goto syntax + +if not exist %subbatch% goto syntax + +call %subpatch% %subbatch% %platform% %rtsys% %target% %5 %6 %7 %8 %9 + +goto end + +rem ----------------------------------------- :syntax -@echo . -@echo SYNTAX: build [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) / 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. +echo . +echo SYNTAX: build [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) / 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. +echo . :end -- cgit v1.2.1