diff options
-rw-r--r-- | config | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,7 +7,8 @@ PREFIX=/usr/local | |||
7 | LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 | 7 | LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 |
8 | 8 | ||
9 | # Lua includes directory | 9 | # Lua includes directory |
10 | LUA_INC= $(PREFIX)/include | 10 | LUA_INC += -I$(PREFIX)/include |
11 | LUA_INC += -I/usr/include/lua5.1 | ||
11 | 12 | ||
12 | # OS dependent | 13 | # OS dependent |
13 | LIB_OPTION= -shared #for Linux | 14 | LIB_OPTION= -shared #for Linux |
@@ -17,7 +18,7 @@ LIBNAME= $T.so.$V | |||
17 | 18 | ||
18 | # Compilation directives | 19 | # Compilation directives |
19 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic | 20 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic |
20 | INCS= -I$(LUA_INC) | 21 | INCS= $(LUA_INC) |
21 | CFLAGS= $(WARN) $(INCS) | 22 | CFLAGS= $(WARN) $(INCS) |
22 | CC= gcc | 23 | CC= gcc |
23 | 24 | ||