1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +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,18 +1,17 @@
#
#
# $Header: /cvsroot/pgsql/contrib/oid2name/Makefile,v 1.3 2001/02/20 19:20:27 petere Exp $
subdir = contrib/oid2name
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
override CPPFLAGS += -I$(libpq_srcdir)
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
OBJS = oid2name.o
all: oid2name
oid2name: $(OBJS) $(libpq_builddir)/libpq.a
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(libpq) $(LIBS) -o $@ -g
$(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@ -g
install: all installdirs
$(INSTALL_PROGRAM) oid2name$(X) $(bindir)