On Mon, 29 May 2017 18:46:53 +0200
Quentin Rameau <[email protected]> wrote:
>
The essence of the problem is this sentence in the spec[0]:
"A target that has prerequisites, but does not have any
commands, __can__ be used to add to the prerequisite list for
that target. Only one target rule for any given target can
contain commands."
Thus, we cannot depend on the behaviour that make adds $(BIN).o to the
list of prerequisites within the $(BIN) target.
As far as I can see it, we are left to write down each target
explicitly.
With best regards
Laslo Hunhold
[0]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
--
Laslo Hunhold <[email protected]>