[filedisk] Initial file-backed disk support
[people/sha0/winvblock.git] / makeutils.bat
1 @echo off\r
2 mkdir bin 2>nul\r
3 call config.bat\r
4 cd src\r
5 pushd .\r
6 call %ddkdir%\bin\setenv.bat %ddkdir% w2k\r
7 popd\r
8 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
9 del mount.obj\r
10 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\r
11 del loader.obj\r
12 pushd .\r
13 call %ddkdir%\bin\setenv.bat %ddkdir% wnet amd64\r
14 popd\r
15 cl /I%CRT_INC_PATH% /DWIN32_LEAN_AND_MEAN loader.c /Fe..\bin\loader64.exe /link /LIBPATH:%DDK_LIB_DEST%\%_BUILDARCH% /LIBPATH:%Lib%\crt\%_BUILDARCH% setupapi.lib bufferoverflowU.lib\r
16 del loader.obj\r
17 cd ..\r