]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/Makefile
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
[stg.git] / projects / stargazer / plugins / store / postgresql / Makefile
index 522058dda5bbefe9a03ebfc27fae17d2af0e846f..b59fbbfa0466fc8f731c027d881badec87d4ce87 100644 (file)
@@ -15,13 +15,12 @@ SRCS =      ./postgresql_store.cpp \
        ./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