webmcp
view Makefile.options @ 172:a83164390355
Allow json.object and json.array functions to convert any Lua value using __pairs and __ipairs metamethods
author | jbe |
---|---|
date | Fri Aug 01 17:11:59 2014 +0200 (2014-08-01) |
parents | 88b613f5bc22 |
children | cd7fce06440d |
line source
1 # C compiler command
2 CC = cc
4 # linker command
5 LD = ld
7 # filename extension for shared libraries
8 SLIB_EXT = so
10 # Lua binaries
11 LUA_BIN = lua
12 LUAC_BIN = luac
14 # C compiler flags
15 # TODO: check alternatives to -D_GNU_SOURCE -fPIC
16 # using libtool?
17 CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua52
19 # additional C compiler flags for parts which depend on PostgreSQL
20 CFLAGS_PGSQL = -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server
22 # linker flags
23 LDFLAGS = -shared -L /usr/lib -L /usr/local/lib
25 # additional linker flags for parts which depend on PostgreSQL
26 LDFLAGS_PGSQL = -L /usr/local/lib/postgresql -rpath /usr/local/lib/postgresql