Fix program build rule in src/bin/scripts/Makefile.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Jan 2019 00:12:22 +0000 (19:12 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Jan 2019 00:12:22 +0000 (19:12 -0500)
commitc5c7fa261f57fadd93f166dc33ce2b1d188ad4e7
tree17620475aa1b84a6d5f73b0185343ba799f7e43b
parent807ae415c54628ade937cb209f0fc9913e6b0cf5
Fix program build rule in src/bin/scripts/Makefile.

Commit 69ae9dcb4 added a globally-visible "%: %.o" rule, but we failed
to notice that src/bin/scripts/Makefile already had such a rule.
Apparently, the later occurrence of the same rule wins in nearly all
versions of gmake ... but not in the one used by buildfarm member jacana.
jacana is evidently using the global rule, which says to link "$<",
ie just the first dependency.  But the scripts makefile needs to
link "$^", ie all the dependencies listed for the target.

There is, fortunately, no good reason not to use "$^" in the global
version of the rule, so we can just do that and get rid of the local
version.
src/Makefile.global.in
src/bin/scripts/Makefile