diff options
Diffstat (limited to 'config')
-rw-r--r-- | config | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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) |
3 | LIB_DIR= /usr/local/lib | 3 | LUA_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) |
5 | LUA_DIR= /usr/local/lua | 5 | LUA_DIR= /usr/local/share/lua/5.0 |
6 | # Lua includes directory | ||
7 | LUA_INC= /usr/local/include/lua5 | ||
6 | 8 | ||
7 | # OS dependent | 9 | # OS dependent |
8 | LIB_EXT= .dylib | 10 | LIB_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 |
17 | DLLIB= -ldl | 19 | DLLIB= -ldl |
18 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings | 20 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings |
19 | INCS= -I/usr/local/include/lua5 -I$(COMPAT_DIR) | 21 | INCS= -I$(LUA_INC) -I$(COMPAT_DIR) |
20 | LIBS= -L$(LIB_DIR) -llua -llualib -lm $(DLLIB) | 22 | LIBS= -L$(LUA_LIBDIR) -llua -llualib -lm $(DLLIB) |
21 | CFLAGS= $(WARN) $(INCS) | 23 | CFLAGS= $(WARN) $(INCS) |
22 | CC= gcc | 24 | CC= gcc |
23 | 25 | ||