From 48c6d0ca4c82a190683380e45821159636080e51 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 19 Dec 2004 05:04:19 +0000 Subject: simplified make system updated make system svn path=/trunk/; revision=2412 --- externals/grill/flext/buildext.bat | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 externals/grill/flext/buildext.bat (limited to 'externals/grill/flext/buildext.bat') diff --git a/externals/grill/flext/buildext.bat b/externals/grill/flext/buildext.bat new file mode 100644 index 00000000..0fcd07b8 --- /dev/null +++ b/externals/grill/flext/buildext.bat @@ -0,0 +1,41 @@ +@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 (all/all-debug/all-shared/all-shared-debug/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%build\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: buildext [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. + +:end -- cgit v1.2.1