Debian Codegraph @

config

raw
1 # Installation directories
2
3 # Default prefix
4 PREFIX = /usr/local
5
6 # Lua version
7 LUA_SYS_VER ?= 5.2
8
9 # System's libraries directory (where binary libraries are installed)
10 LUA_LIBDIR= $(PREFIX)/lib/lua/$(LUA_SYS_VER)
11
12 # System's lua directory (where Lua libraries are installed)
13 LUA_DIR= $(PREFIX)/share/lua/$(LUA_SYS_VER)
14
15 # Lua includes directory
16 LUA_INC= $(PREFIX)/include
17
18 # OS dependent
19 LIB_OPTION= -shared #for Linux
20 #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
21
22 # Compilation directives
23 WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -Wpointer-arith
24 INCS= -I$(LUA_INC)
25 CFLAGS= $(WARN) $(INCS)
26 CC= gcc
27
28 # $Id: config,v 1.6 2007/10/29 23:00:23 carregal Exp $