Re: clarifications about “10.8 Implicit Rule Searc h Algorithm.”

Dmitry Goncharov <[email protected]> Sat, 18 Oct 2025 16:41:40 -0400
Newsgroups gmane.comp.gnu.make.general
Message-ID <CAG+Z0Cvs8CMU+veSiB_j8KQfp54H75LToc0K2OFf-06Y78cNug@mail.gmail.com>
On Sat, Oct 18, 2025 at 3:11=E2=80=AFAM Dmitry <[email protected]> wrote=
:

> Updating goal targets....
> Considering target file 'foo.o'.
>  File 'foo.o' does not exist.
>  Looking for an implicit rule for 'foo.o'.
>  Trying pattern rule with stem 'foo'.
>  Trying rule prerequisite 'aaa'.
>  Trying pattern rule with stem 'foo'.
>  Trying rule prerequisite 'aaa'.
>  Looking for a rule with intermediate file 'aaa'.

This output is from an old version of make. If you try a recent make,
you'll see much more detailed output from implicit search. That'll
hopefully clarify the behavior. But, if not, post that detailed output
here.

regards, Dmitry