aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config8
1 files changed, 4 insertions, 4 deletions
diff --git a/config b/config
index 4486599..33fe514 100644
--- a/config
+++ b/config
@@ -3,12 +3,14 @@
3# Default installation prefix 3# Default installation prefix
4PREFIX=/usr/local 4PREFIX=/usr/local
5 5
6LUA_VERSION = 5.1
7
6# System's libraries directory (where binary libraries are installed) 8# System's libraries directory (where binary libraries are installed)
7LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 9LUA_LIBDIR= $(PREFIX)/lib/lua/$(LUA_VERSION)
8 10
9# Lua includes directory 11# Lua includes directory
10LUA_INC += -I$(PREFIX)/include 12LUA_INC += -I$(PREFIX)/include
11LUA_INC += -I/usr/include/lua5.1 13LUA_INC += -I/usr/include/lua$(LUA_VERSION) -I/usr/include/lua/$(LUA_VERSION)
12 14
13# OS dependent 15# OS dependent
14LIB_OPTION= -shared #for Linux 16LIB_OPTION= -shared #for Linux
@@ -17,8 +19,6 @@ LIB_OPTION= -shared #for Linux
17# Minimum runtime OS version on macOS 19# Minimum runtime OS version on macOS
18MACOSX_DEPLOYMENT_TARGET= 10.5 20MACOSX_DEPLOYMENT_TARGET= 10.5
19 21
20LIBNAME= $T.so.$V
21
22# Compilation directives 22# Compilation directives
23WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic 23WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
24INCS= $(LUA_INC) 24INCS= $(LUA_INC)