@echo on
echo batch file generated by JZcmd
::call msc6setpath.bat
set MSC6PATH=D:\Programme\MSC6\act\Microsoft Visual Studio
set PATH=%MSC6PATH%\COMMON\MSDev98\Bin;%MSC6PATH%\VC98\Bin;%PATH%

::set PATH=%MSC6PATH%\COMMON\MSDev98\Bin;%MSC6PATH%\COMMON\MSDev98\Bin\IDE;%MSC6PATH%\VC98\Bin;%MSC6PATH%\COMMON\IDE\IDE98;%MSC6PATH%\COMMON\IDE\IDE98\resources\1033;%MSC6PATH%\COMMON\Setup\1033;%MSC6PATH%\COMMON\Tools;%MSC6PATH%\COMMON\Tools\APE;%MSC6PATH%\VIntDev98\bin;%MSC6PATH%\VC98\Lib;%MSC6PATH%\COMMON\Wizards98;%MSC6PATH%\dll;%PATH%

::set PATH=%MSC6PATH%\VC98\Bin;%PATH%

REM D:/vishia/ZBNF/sf/ZBNF/examples_JZcmd/zmake-compile/obj
if exist /out:D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\test\obj\hello.objXXX goto :1
cl.exe /c /TP  /I D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\C_source\inc D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\C_source\src\hellox.c /FoD:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\obj\hello.obj 
if errorlevel 1 goto :error
::1>D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\obj\hello.log 2>D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\obj\hello.err
:1
pause
exit /B
REM D:/vishia/ZBNF/sf/ZBNF/examples_JZcmd/zmake-compile/obj
if exist /out:D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\test\obj\hellosub.obj goto :2
cl.exe /c /TP  /I D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\C_source\inc D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\C_source\src\hellosub.c /FoD:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\obj\hellosub.obj 1>D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\obj\hellosub.log 2>D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\obj\hellosub.err
:2
link.exe /LIBPATH:"D:\Programme\MSC6\act\Microsoft Visual Studio\VC98\Lib" /out:D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\test\test.exe D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\test\obj\hello.o D:\vishia\ZBNF\sf\ZBNF\examples_JZcmd\zmake-compile\test\obj\hellosub.o
:error
echo ERROR %errorlevel%
pause
::pause
