4 if "%1"=="" goto compile
\r
5 if "%1"=="-c" goto compile
\r
6 if "%1"=="--compile" goto compile
\r
7 if "%1"=="--test" goto test
\r
8 if "%1"=="-t" goto test
\r
9 if "%1"=="--package" goto package
\r
10 if "%1"=="-p" goto package
\r
11 "echo.exe" "usage: makeos2 [--compile|-c|--test|-t|--package|-p]"
\r
15 make -C ../src -e -f Makefile.os2 %2 %3 %4 %5 %6 %7 %8 %9
\r
20 echo it's %LARCH_PATH% and %LCLIMPORTDIR%
\r
21 make SPLINT=%basedir%\bin\splint.exe %2 %3 %4 %4 %5 %6 %7 %8 %9 -e -f Makefile.os2
\r
27 rm -f splint-%version%-os2-*.tar*
\r
28 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
29 tar cvf splint-%version%-os2-all.tar splint-%version%
\r
31 tar cvf %basedir%\..\splint-%version%-os2-add.tar splint-%version%
\r
32 gzip %basedir%\..\splint-%version%-os2-*.tar
\r