[DEFAULTS] DEF = [m2 {module}.def @if exist {module}.err goto :errdef] MOD = m2 {module} TAIL = [@goto :end :errdef @echo. @echo Compilation error(s) in definition module @goto :end :errmod @echo. @echo Compilation error(s) in implementation module(s) @goto :end :errasm @echo. @echo Assembly error(s) in assembly module @goto :end :errc @echo. @echo Compilation error(s) in C module @goto :end :errlink @echo. @echo Link error(s) :end] [M2Make] HEAD = @set m2qual=/nowarn/lib/short/alias ASM = [masm {module}/Ml; @if errorlevel 1 goto :errasm] C = [cl -c {module}.c @if errorlevel 1 goto :errc] LINK = [@if exist *.err goto :errmod m2l @{main}.arf,,,,M2RTS.LIB+M2LIB.LIB+M2REAL.LIB+\stbos2\fapi.lib/nod/noe; @if errorlevel 1 goto :errlink] [M2Make Final] HEAD = @set m2qual=/nowarn/alias/short/lib ASM = [masm {module}/Ml; @if errorlevel 1 goto :errasm] C = [cl -c {module}.c @if errorlevel 1 goto :errc] LINK = [@if exist *.err goto :errmod m2l @{main}.arf,,,,M2RTS.LIB+M2LIB.LIB+M2REAL.LIB+\stbos2\fapi.lib/nod/noe; @if errorlevel 1 goto :errlink] [M2Make Debug] HEAD = @set m2qual=/nowarn/inline:n/deb:me/check/lib ASM = [masm {module}/Ml/Zi; @if errorlevel 1 goto :errasm] C = [cl -c -Zi -Od {module}.c @if errorlevel 1 goto :errc] LINK = [@if exist *.err goto :errmod m2l @{main}.arf,,,,M2RTS.LIB+M2LIB.LIB+M2REAL.LIB+\stbos2\fapi.lib/nod/noe/co; @if errorlevel 1 goto :errlink]