]> andersk Git - splint.git/blobdiff - os2/makeos2.cmd
Fixed the OS/2 specific files for the latest release.
[splint.git] / os2 / makeos2.cmd
index b19264d6424d6dfcfd9a047b8c2be1f0a5bd0a2d..4413950f82e83ab361455e87ae3b5d96dd624e94 100755 (executable)
@@ -1,48 +1,24 @@
 @echo off\r
 setlocal\r
 call setenv.cmd\r
-if "%1"=="" goto icc\r
-if "%1"=="--icc" goto icc\r
-if "%1"=="-i" goto icc\r
-if "%1"=="--emx" goto emx\r
-if "%1"=="-e" goto emx\r
-if "%1"=="--gcc" goto gcc\r
-if "%1"=="-g" goto gcc\r
-if "%1"=="--oldconf" goto oldconf\r
-if "%1"=="-o" goto oldconf\r
+if "%1"=="" goto compile\r
+if "%1"=="-c" goto compile\r
+if "%1"=="--compile" goto compile\r
 if "%1"=="--test" goto test\r
 if "%1"=="-t" goto test\r
 if "%1"=="--package" goto package\r
 if "%1"=="-p" goto package\r
-"echo.exe" "usage: makeos2 [--emx|-e|--gcc|-g|--icc|-i|--oldconf|-o|--test|-t|--package|-p]"\r
+"echo.exe" "usage: makeos2 [--compile|-c|--test|-t|--package|-p]"\r
 goto end\r
 \r
-:emx\r
-set COMPILER=gcc-emx\r
-goto initial\r
-\r
-:gcc\r
-set COMPILER=gcc-os2\r
-goto initial\r
-\r
-:icc\r
-set COMPILER=icc-os2\r
-goto initial\r
-\r
-:initial\r
-make -f Makefile.os2 confclean\r
-make -e -f Makefile.os2 %2 %3 %4 %5 %6 %7 %8 %9\r
-goto end\r
-\r
-:oldconf\r
-make -f Makefile.os2 --directory=../src --warn-undefined-variables %2 %3 %4 %5 %6 %7 %8 %9 \r
-make -f Makefile.os2 --directory=../lib --warn-undefined-variables %2 %3 %4 %5 %6 %7 %8 %9 \r
+:compile\r
+make -C ../src -e -f Makefile.os2 %2 %3 %4 %5 %6 %7 %8 %9\r
 goto end\r
 \r
 :test\r
 cd ..\test\r
 echo it's %LARCH_PATH% and %LCLIMPORTDIR%\r
-make LCLINT=%basedir%\bin\splint %2 %3 %4 %4 %5 %6 %7 %8 %9 -e -f Makefile.os2\r
+make SPLINT=%basedir%\bin\splint.exe %2 %3 %4 %4 %5 %6 %7 %8 %9 -e -f Makefile.os2\r
 cd ..\os2\r
 goto end\r
 \r
This page took 0.080997 seconds and 4 git commands to generate.