webmcp

annotate Makefile.options @ 206:eb3e236d261d

Code cleanup and work on Moonbridge integration
author jbe
date Fri Jan 09 22:28:39 2015 +0100 (2015-01-09)
parents 88b613f5bc22
children cd7fce06440d
rev   line source
jbe/bsw@0 1 # C compiler command
jbe/bsw@0 2 CC = cc
jbe/bsw@0 3
jbe/bsw@0 4 # linker command
jbe/bsw@0 5 LD = ld
jbe/bsw@0 6
jbe/bsw@0 7 # filename extension for shared libraries
jbe/bsw@0 8 SLIB_EXT = so
jbe/bsw@0 9
jbe@116 10 # Lua binaries
jbe@156 11 LUA_BIN = lua
jbe@156 12 LUAC_BIN = luac
jbe@116 13
jbe/bsw@0 14 # C compiler flags
jbe@42 15 # TODO: check alternatives to -D_GNU_SOURCE -fPIC
jbe@42 16 # using libtool?
jbe@156 17 CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include -I /usr/local/include/lua52
jbe/bsw@0 18
jbe/bsw@0 19 # additional C compiler flags for parts which depend on PostgreSQL
jbe@118 20 CFLAGS_PGSQL = -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server
jbe/bsw@0 21
jbe/bsw@0 22 # linker flags
jbe@118 23 LDFLAGS = -shared -L /usr/lib -L /usr/local/lib
jbe/bsw@0 24
jbe/bsw@0 25 # additional linker flags for parts which depend on PostgreSQL
jbe@116 26 LDFLAGS_PGSQL = -L /usr/local/lib/postgresql -rpath /usr/local/lib/postgresql

Impressum / About Us