1 # Installation directories
3 # Default installation prefix
6 # System's libraries directory (where binary libraries are installed)
7 LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
9 # Lua includes directory
10 LUA_INC= $(PREFIX)/include
13 LIB_OPTION= -shared #for Linux
14 #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
18 # Compilation directives
19 WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
21 CFLAGS= $(WARN) $(INCS)
24 # $Id: config,v 1.21 2007/10/27 22:42:32 carregal Exp $