From 2c9d740172c2a4cf2cc73036026925af03c703c1 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Mon, 7 Jan 2008 10:01:16 +0000 Subject: [PATCH] use autoconfed settings for test code --- test/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/Makefile b/test/Makefile index 4deae03..03d4480 100644 --- a/test/Makefile +++ b/test/Makefile @@ -5,12 +5,13 @@ PGLIB = -L$(shell pg_config --libdir) include ../config.mak CPPFLAGS += -I../include $(PGINC) -LDFLAGS += $(PGLIB) -lpq -levent +LDFLAGS += $(PGLIB) +LIBS += -lpq all: asynctest asynctest: asynctest.c - $(CC) -o $@ $< $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) + $(CC) -o $@ $< $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LIBS) clean: rm -f asynctest -- 2.40.0