From cb6edf9d56019a1a3d9fd3df0dfe4a3ca1e7daab Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 20 Feb 2001 19:20:30 +0000 Subject: Make sure -L and -I's for our source tree are always before system include or library directories on the command line. --- contrib/pgbench/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/pgbench/Makefile') diff --git a/contrib/pgbench/Makefile b/contrib/pgbench/Makefile index 61f71e58f17..157e9c168ca 100644 --- a/contrib/pgbench/Makefile +++ b/contrib/pgbench/Makefile @@ -1,19 +1,19 @@ # -# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.8 2000/12/04 01:32:19 tgl Exp $ +# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.9 2001/02/20 19:20:27 petere Exp $ # subdir = contrib/pgbench top_builddir = ../.. include $(top_builddir)/src/Makefile.global -override CPPFLAGS += -I$(libpq_srcdir) +override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) OBJS = pgbench.o all: pgbench pgbench: $(OBJS) $(libpq_builddir)/libpq.a - $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(libpq) $(LIBS) -o $@ + $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ install: all installdirs $(INSTALL_PROGRAM) pgbench$(X) $(bindir) -- cgit v1.2.3