aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Makefile b/src/Makefile
index c6ab644..b50c10d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,8 +1,8 @@
1# 1#
2# Lanes/src/Makefile 2# Lanes/src/Makefile
3# 3#
4# make [LUA=...] Manual build 4# make Manual build
5# make LUAROCKS=1 CFLAGS=... LIBFLAG=... LUA=... LuaRocks automated build 5# make LUAROCKS=1 CFLAGS=... LIBFLAG=... LuaRocks automated build
6# 6#
7 7
8MODULE=lanes 8MODULE=lanes
@@ -18,8 +18,6 @@ LIBFLAG=-shared
18OPT_FLAGS=-O2 18OPT_FLAGS=-O2
19 # -O0 -g 19 # -O0 -g
20 20
21LUA=lua
22
23_SO=so 21_SO=so
24ifeq "$(findstring MINGW32,$(shell uname -s))" "MINGW32" 22ifeq "$(findstring MINGW32,$(shell uname -s))" "MINGW32"
25 _SO=dll 23 _SO=dll
@@ -148,8 +146,7 @@ win32: $(WIN32_LUA51)/include/lua.h
148 LUA_FLAGS=-I$(WIN32_LUA51)/include \ 146 LUA_FLAGS=-I$(WIN32_LUA51)/include \
149 LUA_LIBS="-L$(WIN32_LUA51) -llua51" \ 147 LUA_LIBS="-L$(WIN32_LUA51) -llua51" \
150 _SO=dll \ 148 _SO=dll \
151 SO_FLAGS=-shared \ 149 SO_FLAGS=-shared
152 LUA=lua51
153 150
154$(WIN32_LUA51)/include/lua.h: 151$(WIN32_LUA51)/include/lua.h:
155 @echo "Usage: make win32 WIN32_LUA51=<path of extracted LuaBinaries dll8 and dev packages>" 152 @echo "Usage: make win32 WIN32_LUA51=<path of extracted LuaBinaries dll8 and dev packages>"
@@ -157,4 +154,3 @@ $(WIN32_LUA51)/include/lua.h:
157 @false 154 @false
158 155
159.PROXY: all clean nslu2 win32 156.PROXY: all clean nslu2 win32
160