./postgresql_store_users.cpp \
./postgresql_store_utils.cpp
-STGLIBS = -lstg_common -lstg_crypto
+STGLIBS = common \
+ crypto \
+ logger
-PG_CFLAGS = $(shell pg_config --includedir)
-PG_LDFLAGS = $(shell pg_config --libdir)
-
-CXXFLAGS += -I $(PG_CFLAGS)
-LDFLAGS += -L $(PG_LDFLAGS)
+CXXFLAGS += $(PG_CFLAGS)
+LDFLAGS += $(PG_LDFLAGS)
LIBS += -lpq