summaryrefslogtreecommitdiff
path: root/contrib/pgbench/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut2001-02-20 19:20:30 +0000
committerPeter Eisentraut2001-02-20 19:20:30 +0000
commitcb6edf9d56019a1a3d9fd3df0dfe4a3ca1e7daab (patch)
treefa108600dcddc1d1c70ae452dcb7111bae91f3df /contrib/pgbench/Makefile
parentc4a9023d520d8b9dee8bed396d08a0bf801726e2 (diff)
Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
Diffstat (limited to 'contrib/pgbench/Makefile')
-rw-r--r--contrib/pgbench/Makefile6
1 files changed, 3 insertions, 3 deletions
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)