aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial/build.bat')
-rw-r--r--externals/grill/flext/tutorial/build.bat34
1 files changed, 34 insertions, 0 deletions
diff --git a/externals/grill/flext/tutorial/build.bat b/externals/grill/flext/tutorial/build.bat
new file mode 100644
index 00000000..dd503c8c
--- /dev/null
+++ b/externals/grill/flext/tutorial/build.bat
@@ -0,0 +1,34 @@
+@echo off
+
+if "%1"=="" goto syntax
+if "%2"=="" goto syntax
+if "%3"=="" goto syntax
+
+rem first check configuration
+call ..\build.bat %1 %2 %3 config "PKGINFO="
+if errorlevel 1 goto end
+
+for /D %%i in (*) do (
+ pushd %%i
+ if exist package.txt (
+ call ..\..\build.bat %1 %2 %3
+ )
+ popd
+)
+
+goto end
+
+rem -----------------------------------------
+:syntax
+
+echo .
+echo SYNTAX: build [platform] [system] [compiler]
+echo platform ... win / lnx / mac
+echo system ... pd / max
+echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
+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