Windows2000/private/ntos/rtl/mkit.cmd
2020-09-30 17:12:32 +02:00

23 lines
463 B
Batchfile

@echo off
setlocal
set _nokrnl=0
if "%1" == "user" set _nokrnl=1
if "%1" == "user" cd user
if "%1" == "user" shift
set _bldflags=-z
if NOT "%1" == "" set _bldflags=%1 %2 %3 %4 %5
build -z -M 4 %_bldflags%
if ERRORLEVEL 1 goto done
cd \nt\private\ntos\dll
build -z %_bldflags%
if ERRORLEVEL 1 goto done
if "%_nokrnl%" == "1" goto done
cd \nt\private\ntos\init
build -z -M 2
if ERRORLEVEL 1 goto done
cd \nt\private\ntos\boot
build -z -M 4
:done
cd ..\rtl
endlocal