Subject: Re: make seems to find the wrong source file
To: David Laight <email@example.com>
From: Simon J. Gerraty <firstname.lastname@example.org>
Date: 01/11/2004 17:33:54
>I've always assumed that the suffix rules are used whenever there are
>no commands for a target. The source file from the suffix rule being
Which is the case in your example.
>used to generate the object file - regardless of what is contained in
>any of the other dependency lines for the target.
I suspect the waters got muddied with the introduction of objdirs, .PATH etc.
the behaviour of our make in this case didn't surprise me - that doesn't make
it correct (or incorrect).
Anyone got a reference in some "standard" that clarifies the expected behavior?