aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config10
1 files changed, 6 insertions, 4 deletions
diff --git a/config b/config
index 16ed356..0fe23ad 100644
--- a/config
+++ b/config
@@ -1,8 +1,10 @@
1# Installation directories 1# Installation directories
2# System's libraries directory (where binary libraries are installed) 2# System's libraries directory (where binary libraries are installed)
3LIB_DIR= /usr/local/lib 3LUA_LIBDIR= /usr/local/lib/lua/5.0
4# System's lua directory (where Lua libraries are installed) 4# System's lua directory (where Lua libraries are installed)
5LUA_DIR= /usr/local/lua 5LUA_DIR= /usr/local/share/lua/5.0
6# Lua includes directory
7LUA_INC= /usr/local/include/lua5
6 8
7# OS dependent 9# OS dependent
8LIB_EXT= .dylib 10LIB_EXT= .dylib
@@ -16,8 +18,8 @@ COMPAT_DIR= .
16# On FreeBSD systems, the following line should be commented 18# On FreeBSD systems, the following line should be commented
17DLLIB= -ldl 19DLLIB= -ldl
18WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings 20WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
19INCS= -I/usr/local/include/lua5 -I$(COMPAT_DIR) 21INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
20LIBS= -L$(LIB_DIR) -llua -llualib -lm $(DLLIB) 22LIBS= -L$(LUA_LIBDIR) -llua -llualib -lm $(DLLIB)
21CFLAGS= $(WARN) $(INCS) 23CFLAGS= $(WARN) $(INCS)
22CC= gcc 24CC= gcc
23 25