summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-12-07 19:01:29 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2011-12-07 19:01:29 +0100
commit2397764dd0e5efa2b613fd22f6bf9c183d07160b (patch)
tree96a702b5ae8753e4ef72010951fc8401d0946c06 /Makefile
parent23a6ffd12a86bda8b6d4fe7eda55b5fa2b5e72a8 (diff)
downloadts3db_postgres-2397764dd0e5efa2b613fd22f6bf9c183d07160b.tar.gz
ts3db_postgres-2397764dd0e5efa2b613fd22f6bf9c183d07160b.tar.xz
ts3db_postgres-2397764dd0e5efa2b613fd22f6bf9c183d07160b.zip
renamed library, reordered Makefile
Diffstat (limited to '')
-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