summaryrefslogtreecommitdiff
path: root/etc/luavs.bat
diff options
context:
space:
mode:
Diffstat (limited to 'etc/luavs.bat')
-rw-r--r--etc/luavs.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/luavs.bat b/etc/luavs.bat
new file mode 100644
index 00000000..eea175e3
--- /dev/null
+++ b/etc/luavs.bat
@@ -0,0 +1,7 @@
+cd src
+cl /O2 /W3 /c /DLUA_BUILD_AS_DLL l*.c
+del lua.obj luac.obj
+link /DLL /out:lua51.dll l*.obj
+cl /O2 /W3 /c /DLUA_BUILD_AS_DLL lua.c
+link /out:lua.exe lua.obj lua51.lib
+cd ..