aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial')
-rw-r--r--externals/grill/flext/tutorial/build.bat8
-rw-r--r--externals/grill/flext/tutorial/build.sh7
2 files changed, 6 insertions, 9 deletions
diff --git a/externals/grill/flext/tutorial/build.bat b/externals/grill/flext/tutorial/build.bat
index dd503c8c..431454d4 100644
--- a/externals/grill/flext/tutorial/build.bat
+++ b/externals/grill/flext/tutorial/build.bat
@@ -2,16 +2,15 @@
if "%1"=="" goto syntax
if "%2"=="" goto syntax
-if "%3"=="" goto syntax
rem first check configuration
-call ..\build.bat %1 %2 %3 config "PKGINFO="
+call ..\build.bat %1 %2 config "PKGINFO=" "NAME=tutorial" "SRCS=."
if errorlevel 1 goto end
for /D %%i in (*) do (
pushd %%i
if exist package.txt (
- call ..\..\build.bat %1 %2 %3
+ call ..\..\build.bat %1 %2
)
popd
)
@@ -22,8 +21,7 @@ rem -----------------------------------------
:syntax
echo .
-echo SYNTAX: build [platform] [system] [compiler]
-echo platform ... win / lnx / mac
+echo SYNTAX: build [system] [compiler]
echo system ... pd / max
echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
echo .
diff --git a/externals/grill/flext/tutorial/build.sh b/externals/grill/flext/tutorial/build.sh
index 42968838..6ea19cb1 100644
--- a/externals/grill/flext/tutorial/build.sh
+++ b/externals/grill/flext/tutorial/build.sh
@@ -1,16 +1,16 @@
#! /bin/bash
if
- [ -n "$1" -a -n "$2" -a -n "$3" ]
+ [ -n "$1" -a -n "$2" ]
then
# make config first
if
- bash ../build.sh $1 $2 $3 config "PKGINFO="
+ bash ../build.sh $1 $2 config "PKGINFO=" "NAME=tutorial" "SRCS=\"\""
then
for i in * ; do
if [ -e $i/package.txt ] ; then
pushd $i
- bash ../../build.sh $1 $2 $3
+ bash ../../build.sh $1 $2
popd
fi
done
@@ -18,7 +18,6 @@ then
else
echo
echo SYNTAX: build.sh [platform] [system] [compiler]
- echo platform ... win / lnx / mac
echo system ..... pd / max
echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
echo