summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-12-07 04:45:12 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2011-12-07 04:45:12 +0100
commit1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99 (patch)
tree633401b25524684aafad9d4acbf046801feb5ae6 /Makefile
parent5ad2ad18db1413db2872eaa1f956d0cf2fe2477d (diff)
downloadts3db_postgres-1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99.tar.gz
ts3db_postgres-1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99.tar.xz
ts3db_postgres-1ef57f73e7a8d8de32587e27a5b3ed35cf64ac99.zip
some pg progress
current bug: PQoidValue does not work for serial
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 14ec492..5309c21 100644
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,10 @@ deps:=$(sources:.c=.d)
objects:=$(sources:.c=.o)
-32BIT=-m32
-CFLAGS=-fPIC $(32BIT) -g
-LDFLAGS=-shared -Wl,-soname,$(TARGET) $(32BIT)
+#32BIT=-m32
+CFLAGS=-fPIC $(32BIT) -g -std=c99
+CFLAGS+=-I$(shell pg_config --includedir)
+LDFLAGS=-shared -Wl,-soname,$(TARGET) $(32BIT) -lpq
##############################################################################