Subject: Re: make seems to find the wrong source file
To: Simon J. Gerraty <>
From: Frederick Bruckman <>
List: tech-toolchain
Date: 01/11/2004 19:47:31
On Sun, 11 Jan 2004, Simon J. Gerraty wrote:

> >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.

The surprising thing is, that if the filename part of a path for any
explicit source matches the source calculated from the suffix rule,
the first such full path will be used instead of (simply) the source
calculated from the suffix rule.