dos_compilers/Microsoft C v3/m.bat

18 lines
393 B
Batchfile
Raw Normal View History

2024-07-01 14:49:38 +02:00
@echo off
del %1.exe
del %1.obj
rem use "ntvdm cl /help" to get command-line arguments
2024-07-04 20:11:27 +02:00
ntvdm -r:. cl /Ox /DDOSTIME /AS /Gs /Ze /Zp -I inc -I inc\sys -L lib %1.c
2024-07-01 14:49:38 +02:00
if %ERRORLEVEL% NEQ 0 goto alldone
rem use "ntvdm link /help" to get command-line arguments
2024-07-04 20:11:27 +02:00
ntvdm -r:. link %1,,%1,lib\slibfp+lib\slibc+lib\em
2024-07-01 14:49:38 +02:00
if %ERRORLEVEL% NEQ 0 goto alldone
rem ntvdm -d -C -p %1
:alldone