PROGRAM = pgxs-test OBJS = pgxs-test.o PG_CONFIG = pg_config PG_LIBS = $(libpq_pgport) PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS)