webmcp

view Makefile.options @ 151:6d2bb696f736

Simplified C macros for Lua registry handling in JSON library (using lua_rawgetp API function)
author jbe
date Thu Jul 31 00:44:17 2014 +0200 (2014-07-31)
parents 35fb4f92a887
children 88b613f5bc22
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 = lua52
12 LUAC_BIN = luac52
14 # C compiler flags
15 # TODO: check alternatives to -D_GNU_SOURCE -fPIC
16 # using libtool?
17 CFLAGS = -g -O0 -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

Impressum / About Us