diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ | |||
1 | # Installation directories | ||
2 | # System's libraries directory (where Lua libraries are installed) | ||
3 | LIB_DIR= /usr/local/lib | ||
4 | LUA_DIR= /usr/local/lua | ||
5 | |||
6 | # OS dependent | ||
7 | LIB_EXT= .dylib | ||
8 | #LIB_EXT= .so | ||
9 | LIB_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 | ||
15 | DLLIB= -ldl | ||
16 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings | ||
17 | INCS= -I/usr/local/include/lua5 | ||
18 | LIBS= -L$(LIB_DIR) -llua -llualib -lm $(DLLIB) | ||
19 | CFLAGS= $(WARN) $(INCS) | ||
20 | CC= gcc | ||
21 | |||