diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2000-11-30 20:36:13 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2000-11-30 20:36:13 +0000 |
| commit | e5ba2fc5b59ee5a7993b3ab65a32860661da81b8 (patch) | |
| tree | 7ea763b2dc21ff00fae9edc654890d5e1159cbad /contrib | |
| parent | 309112267f0f73ee79e36a3efe1060b34b5c7b46 (diff) | |
| download | postgresql-e5ba2fc5b59ee5a7993b3ab65a32860661da81b8.tar.gz | |
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.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/pg_dumplo/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_dumplo/Makefile b/contrib/pg_dumplo/Makefile index f8900b17c7..2342ea20be 100644 --- a/contrib/pg_dumplo/Makefile +++ b/contrib/pg_dumplo/Makefile @@ -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) |
