summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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
##############################################################################