[build] Move userland utility into subdir
[people/sha0/winvblock.git] / makeutils.bat
index 3f2ba61..81d1e23 100644 (file)
@@ -4,9 +4,12 @@ call config.bat
 cd src\r
 pushd .\r
 call %ddkdir%\bin\setenv.bat %ddkdir% w2k\r
-popd\r
-cl /I%CRT_INC_PATH% /DWIN32_LEAN_AND_MEAN mount.c /Fe..\bin\winvblk.exe /link /LIBPATH:%DDK_LIB_DEST%\i386 /LIBPATH:%Lib%\crt\i386 bufferoverflowU.lib\r
+popd
+pushd .
+cd util\r
+cl /I%CRT_INC_PATH% /DWIN32_LEAN_AND_MEAN mount.c /Fe..\..\bin\winvblk.exe /link /LIBPATH:%DDK_LIB_DEST%\i386 /LIBPATH:%Lib%\crt\i386 bufferoverflowU.lib\r
 del mount.obj
+popd
 pushd .
 cd loader\r
 cl /I%CRT_INC_PATH% /DWIN32_LEAN_AND_MEAN loader.c /Fe..\..\bin\loader32.exe /link /LIBPATH:%DDK_LIB_DEST%\i386 /LIBPATH:%Lib%\crt\i386 setupapi.lib bufferoverflowU.lib