summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8272d2c..d8858a4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,15 @@
-TARGET:=libts3db_own.so
+TARGET:=libts3db_postgres.so
TOP:=.
+#32BIT=-m32
+#DEBUG=-g
+
headers:=$(wildcard ${TOP}/*.h)
sources:=$(wildcard ${TOP}/*.c)
deps:=$(sources:.c=.d)
objects:=$(sources:.c=.o)
-
-#32BIT=-m32
-CFLAGS=-fPIC $(32BIT) -g -std=c99
+CFLAGS=-fPIC $(32BIT) $(DEBUG) -std=c99
CFLAGS+=-I$(shell pg_config --includedir)
LDFLAGS=-shared -Wl,-soname,$(TARGET) $(32BIT) -lpq -liniparser