aboutsummaryrefslogtreecommitdiff
path: root/make-vc.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'make-vc.cmd')
-rw-r--r--make-vc.cmd17
1 files changed, 5 insertions, 12 deletions
diff --git a/make-vc.cmd b/make-vc.cmd
index 7711a44..910390a 100644
--- a/make-vc.cmd
+++ b/make-vc.cmd
@@ -84,7 +84,7 @@ goto ERR_NOLUA
84 84
85:BUILD 85:BUILD
86@REM LuaBinaries: 86@REM LuaBinaries:
87@REM The current build system does not show 'lua51-lanes.dll' to 87@REM The current build system does not show 'lanes/core.dll' to
88@REM be dependent on more than 'KERNEL32.DLL'. Good. 88@REM be dependent on more than 'KERNEL32.DLL'. Good.
89@REM 89@REM
90@REM Lua for Windows: 90@REM Lua for Windows:
@@ -113,13 +113,6 @@ goto ERR_NOLUA
113@goto EXIT 113@goto EXIT
114:LUA_LIB_OK 114:LUA_LIB_OK
115 115
116@REM
117@REM Embed src/keeper.lua -> .lch
118@REM
119@REM Note: we cannot use piping in Windows since we need binary output.
120@REM
121"%LUA_EXE%" tools/bin2c.lua -o src/keeper.lch src/keeper.lua
122
123@if "%VCINSTALLDIR%"=="" goto ERR_NOVC 116@if "%VCINSTALLDIR%"=="" goto ERR_NOVC
124 117
125@REM 118@REM
@@ -138,14 +131,14 @@ goto ERR_NOLUA
138@set FLAGS=/O2 /LD 131@set FLAGS=/O2 /LD
139 132
140cl %WARN% %FLAGS% /I "%LUA51%\include" /Felua51-lanes.dll src\*.c "%LUA_LIB%\lua5.1.lib" 133cl %WARN% %FLAGS% /I "%LUA51%\include" /Felua51-lanes.dll src\*.c "%LUA_LIB%\lua5.1.lib"
141@REM cl %WARN% %FLAGS% /I "%LUA51%\include" /Felua51-lanes.dll src\*.c "%LUA_LIB%\lua5.1.lib" /link /NODEFAULTLIB:libcmt 134@REM cl %WARN% %FLAGS% /I "%LUA51%\include" /Felanes\core.dll src\*.c "%LUA_LIB%\lua5.1.lib" /link /NODEFAULTLIB:libcmt
142 135
143@del lua51-lanes.lib 136@del lanes\core.lib
144@del lua51-lanes.exp 137@del lanes\core.exp
145@goto EXIT 138@goto EXIT
146 139
147:CLEAN 140:CLEAN
148if exist *.dll del *.dll 141if exist lanes\*.dll del lanes\*.dll
149if exist delme del delme 142if exist delme del delme
150@goto EXIT 143@goto EXIT
151 144