aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Makefile b/src/Makefile
index a16acce..c6ab644 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -36,15 +36,8 @@ ifeq "$(LUAROCKS)" ""
36 ifeq "$(LUA_DEV)" "" 36 ifeq "$(LUA_DEV)" ""
37 $(error LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1') 37 $(error LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1')
38 endif 38 endif
39 ifeq "$(MSVCR80)" ""
40 MSVCR80:=$(LUA_DEV)/install/support/Microsoft.VC80.CRT.SP1/MSVCR80.DLL
41 ifneq '$(shell test -f "$(MSVCR80)" && echo found)' 'found'
42 $(error MSVCR80 not defined - set it to full path of msvcr80.dll')
43 endif
44 $(warning MSVCR80=$(MSVCR80))
45 endif
46 LUA_FLAGS:=-I "$(LUA_DEV)/include" 39 LUA_FLAGS:=-I "$(LUA_DEV)/include"
47 LUA_LIBS:="$(LUA_DEV)/lua5.1.dll" -lgcc -lmsvcr80 "$(MSVCR80)" 40 LUA_LIBS:="$(LUA_DEV)/lua5.1.dll" -lgcc
48 LIBFLAG=-shared -Wl,-Map,lanes.map 41 LIBFLAG=-shared -Wl,-Map,lanes.map
49 else 42 else
50 # Autodetect LUA_FLAGS and/or LUA_LIBS 43 # Autodetect LUA_FLAGS and/or LUA_LIBS