summaryrefslogtreecommitdiff
path: root/contrib/vacuumlo
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-02-20 19:20:30 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-02-20 19:20:30 +0000
commitcb6edf9d56019a1a3d9fd3df0dfe4a3ca1e7daab (patch)
treefa108600dcddc1d1c70ae452dcb7111bae91f3df /contrib/vacuumlo
parentc4a9023d520d8b9dee8bed396d08a0bf801726e2 (diff)
downloadpostgresql-cb6edf9d56019a1a3d9fd3df0dfe4a3ca1e7daab.tar.gz
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/vacuumlo')
-rw-r--r--contrib/vacuumlo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/vacuumlo/Makefile b/contrib/vacuumlo/Makefile
index a61733ee58..8e57a148f8 100644
--- a/contrib/vacuumlo/Makefile
+++ b/contrib/vacuumlo/Makefile
@@ -1,19 +1,19 @@
#
-# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.9 2000/12/04 01:32:19 tgl Exp $
+# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.10 2001/02/20 19:20:28 petere Exp $
#
subdir = contrib/vacuumlo
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-override CPPFLAGS += -I$(libpq_srcdir)
+override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
OBJS = vacuumlo.o
all: vacuumlo
vacuumlo: $(OBJS) $(libpq_builddir)/libpq.a
- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(libpq) $(LIBS) -o $@
+ $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@
install: all installdirs
$(INSTALL_PROGRAM) vacuumlo$(X) $(bindir)