aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config21
1 files changed, 21 insertions, 0 deletions
diff --git a/config b/config
new file mode 100644
index 0000000..9cd88bc
--- /dev/null
+++ b/config
@@ -0,0 +1,21 @@
1# Installation directories
2# System's libraries directory (where Lua libraries are installed)
3LIB_DIR= /usr/local/lib
4LUA_DIR= /usr/local/lua
5
6# OS dependent
7LIB_EXT= .dylib
8#LIB_EXT= .so
9LIB_OPTION= -dynamiclib #for MacOS X
10#LIB_OPTION= -shared #for Linux
11
12# Compilation directives
13# pre-compile and include mod2.lua into mod_lua.c
14# On FreeBSD systems, the following line should be commented
15DLLIB= -ldl
16WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
17INCS= -I/usr/local/include/lua5
18LIBS= -L$(LIB_DIR) -llua -llualib -lm $(DLLIB)
19CFLAGS= $(WARN) $(INCS)
20CC= gcc
21