blob: baffe8621a8da2f63e22cec72c1cdb70ff8bd271 (
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 2009-10-21 00:54:35.000000000 +0400
+++ config 2012-12-15 17:36:31.000000000 +0400
@@ -1,22 +1,22 @@
# 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
|