1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Make sure -L and -I's for our source tree are always before system include

or library directories on the command line.
This commit is contained in:
Peter Eisentraut
2001-02-20 19:20:30 +00:00
parent c4a9023d52
commit cb6edf9d56
39 changed files with 95 additions and 100 deletions

View File

@ -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)