Hi,
I am using GNU Make V3.79.1 on FreeBSD 4.0 on an Intel Pentium II. I am
using the GNU Make manual for GNU Make 3.77 but think that the problem I am
having is unlikely to have changed between these versions of make.
In section 4.8 of the manual, it says that writing multiple targets in a
rule is the same as writing the rule multiple times. That is, the
following are equivalent.
a b: c # rule 1
touch $@
and
a : c
touch $@
b : c touch $@
are equivalent.
In the version of GNU Make that I am using, rule 1 only ever rebuilds
target "a". It never attempts to build target "b". Ever. (Dependency "c"
is created using the touch command).
Can you tell me if I've misunderstood what make is supposed to do with rule
1, or is this a known problem?
Thanks,
Brian