blob: 106cb530fac08d13d334b7f7e1ee49d2c3979319 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- config.orig 2015-01-15 18:58:20 UTC
+++ config
@@ -1,24 +1,24 @@
# Installation directories
# Default installation prefix
-PREFIX=/usr/local
+PREFIX=%%PREFIX%%
# System's libraries directory (where binary libraries are installed)
-LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
+LUA_LIBDIR= %%MODLIBDIR%%
# Lua includes directory
-LUA_INC= $(PREFIX)/include
+LUA_INC= %%INCDIR%%
# OS dependent
LIB_OPTION= -shared #for Linux
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
-LIBNAME= $T.so.$V
+LIBNAME= $T.so
# Compilation directives
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
INCS= -I$(LUA_INC)
-CFLAGS= $(WARN) $(INCS)
-CC= gcc
+CFLAGS+= $(WARN) $(INCS)
+CC?= gcc
|