5 if "%1"=="--icc" goto icc
\r
6 if "%1"=="-i" goto icc
\r
7 if "%1"=="--emx" goto emx
\r
8 if "%1"=="-e" goto emx
\r
9 if "%1"=="--gcc" goto gcc
\r
10 if "%1"=="-g" goto gcc
\r
11 if "%1"=="--oldconf" goto oldconf
\r
12 if "%1"=="-o" goto oldconf
\r
13 if "%1"=="--test" goto test
\r
14 if "%1"=="-t" goto test
\r
15 if "%1"=="--package" goto package
\r
16 if "%1"=="-p" goto package
\r
17 "echo.exe" "usage: makeos2 [--emx|-e|--gcc|-g|--icc|-i|--oldconf|-o|--test|-t|--package|-p]"
\r
21 set COMPILER=gcc-emx
\r
25 set COMPILER=gcc-os2
\r
29 set COMPILER=icc-os2
\r
33 make -f Makefile.os2 confclean
\r
34 make -e -f Makefile.os2 %2 %3 %4 %5 %6 %7 %8 %9
\r
38 make -f Makefile.os2 --directory=../src --warn-undefined-variables %2 %3 %4 %5 %6 %7 %8 %9
\r
39 make -f Makefile.os2 --directory=../lib --warn-undefined-variables %2 %3 %4 %5 %6 %7 %8 %9
\r
44 echo it's %LARCH_PATH% and %LCLIMPORTDIR%
\r
45 make LCLINT=%basedir%\bin\splint %2 %3 %4 %4 %5 %6 %7 %8 %9 -e -f Makefile.os2
\r
51 rm -f splint-%version%-os2-*.tar*
\r
52 tar cvf splint-%version%-os2-bin.tar splint-%version%\bin splint-%version%\imports splint-%version%\lib splint-%version%\os2 splint-%version%\test splint-%version%\LICENSE splint-%version%\README
\r
53 tar cvf splint-%version%-os2-all.tar splint-%version%
\r
55 tar cvf %basedir%\..\splint-%version%-os2-add.tar splint-%version%
\r
56 gzip %basedir%\..\splint-%version%-os2-*.tar
\r