mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Make all commands that link a program look like
$(CC) $(CFLAGS) $(LDFLAGS) <object files> <extra-libraries> $(LIBS) -o $@ This form seemed to be the most portable, readable, and logical, but in any case it's better than having a dozen different ones in the tree.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.7 2000/10/20 21:03:25 petere Exp $
|
||||
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.8 2000/11/30 20:36:09 petere Exp $
|
||||
#
|
||||
|
||||
subdir = contrib/pg_dumplo
|
||||
@ -12,7 +12,7 @@ override CPPFLAGS += -I$(libpq_srcdir)
|
||||
all: pg_dumplo
|
||||
|
||||
pg_dumplo: $(OBJS) $(libpq_builddir)/libpq.a
|
||||
$(CC) -o $@ $(OBJS) $(libpq) $(CFLAGS) $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(libpq) $(LIBS) -o $@
|
||||
|
||||
install: all installdirs
|
||||
$(INSTALL_PROGRAM) pg_dumplo$(X) $(bindir)
|
||||
|
Reference in New Issue
Block a user