Metropoli BBS
VIEWER: compile.bat MODE: TEXT (ASCII)
@echo off

echo Invoking compiler ..
tasm.exe /t /m9 pfc.asm
if not exist pfc.obj goto error1

echo Invoking linker ..
tlink.exe /x /t pfc.obj
if not exist pfc.com goto error2

goto end

:error1
echo Compiler error.
goto end

:error2
echo Linker error, deleting object.
del pfc.obj
goto end

:end
[ RETURN TO DIRECTORY ]