- @rem Script to build Lua under "Visual Studio .NET Command Prompt". 
- @rem Do not run from this directory; run it from the toplevel: etc\luavs.bat . 
- @rem It creates lua51.dll, lua51.lib, lua.exe, and luac.exe in src. 
- @rem (contributed by David Manura and Mike Pall) 
-   
- @set-  MYCOMPILE=cl /nologo / MD-  /O2 /W3 /c /D_CRT_SECURE_NO_DEPRECATE 
 
-   
- %MYCOMPILE% /DLUA_BUILD_AS_DLL l*.c 
- %MYLINK% /DLL /out:lua51.dll l*.obj 
-   %MYMT% -manifest lua51.dll.manifest -outputresource:lua51.dll;2 
- %MYCOMPILE% /DLUA_BUILD_AS_DLL lua.c 
- %MYLINK% /out:lua.exe lua.obj lua51.lib 
-   %MYMT% -manifest lua.exe.manifest -outputresource:lua.exe 
- %MYCOMPILE% l*.c print.c 
- del-  lua.obj linit.obj lbaselib.obj ldblib.obj liolib.obj lmathlib.obj^ 
 
-     loslib.obj ltablib.obj lstrlib.obj loadlib.obj 
- %MYLINK% /out:luac.exe *.obj 
-   %MYMT% -manifest luac.exe.manifest -outputresource:luac.exe 
-