Make all commands that link a program look like
Peter Eisentraut <peter_e@gmx.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_dumplo/Makefile | modified | +2 −2 |
| src/backend/Makefile | modified | +4 −4 |
| src/backend/regex/Makefile | modified | +2 −2 |
| src/backend/utils/mb/Makefile | modified | +4 −4 |
| src/bin/pg_dump/Makefile | modified | +3 −3 |
| src/bin/pg_encoding/Makefile | modified | +4 −4 |
| src/bin/pg_id/Makefile | modified | +4 −4 |
| src/bin/pg_passwd/Makefile | modified | +4 −1 |
| src/bin/pgtclsh/Makefile | modified | +3 −3 |
| src/bin/psql/Makefile | modified | +4 −4 |
| src/interfaces/ecpg/preproc/Makefile | modified | +3 −2 |
| src/Makefile.global.in | modified | +2 −2 |
| src/Makefile.shlib | modified | +3 −3 |
| src/makefiles/Makefile.aix | modified | +2 −2 |
| src/makefiles/Makefile.qnx4 | modified | +1 −2 |
| src/makefiles/Makefile.svr4 | modified | +2 −1 |