aboutsummaryrefslogtreecommitdiff
path: root/Shared.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Shared.makefile')
-rw-r--r--Shared.makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Shared.makefile b/Shared.makefile
index 492c05d..3809538 100644
--- a/Shared.makefile
+++ b/Shared.makefile
@@ -5,7 +5,7 @@ CC := g++ -std=c++20
5LIBFLAG := -shared 5LIBFLAG := -shared
6 6
7OPT_FLAGS := -O2 7OPT_FLAGS := -O2
8# -O0 -g 8#OPT_FLAGS := -O0 -g3
9 9
10ifeq "$(findstring MINGW,$(shell uname -s))" "MINGW" 10ifeq "$(findstring MINGW,$(shell uname -s))" "MINGW"
11 # MinGW MSYS on Windows 11 # MinGW MSYS on Windows
@@ -30,7 +30,7 @@ ifeq "$(LUAROCKS)" ""
30 $(warning LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1') 30 $(warning LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1')
31 # this assumes Lua was built and installed from source and everything is located in default folders (/usr/local/include and /usr/local/bin) 31 # this assumes Lua was built and installed from source and everything is located in default folders (/usr/local/include and /usr/local/bin)
32 LUA_FLAGS := -I "/usr/local/include" 32 LUA_FLAGS := -I "/usr/local/include"
33 LUA_LIBS := $(word 1,$(shell which lua54.$(_SO) 2>/dev/null) $(shell which lua53.$(_SO) 2>/dev/null) $(shell which lua52.$(_SO) 2>/dev/null) $(shell which lua51$(_SO) 2>/dev/null)) 33 LUA_LIBS := $(word 1,$(shell which lua55.$(_SO) 2>/dev/null) $(shell which lua54.$(_SO) 2>/dev/null) $(shell which lua53.$(_SO) 2>/dev/null) $(shell which lua52.$(_SO) 2>/dev/null) $(shell which lua51$(_SO) 2>/dev/null))
34 $(info detected LUA_LIBS as $(LUA_LIBS)) 34 $(info detected LUA_LIBS as $(LUA_LIBS))
35 else 35 else
36 LUA_FLAGS := -I "$(LUA_DEV)/include" 36 LUA_FLAGS := -I "$(LUA_DEV)/include"