On Sat, Sep 19, 2026 at 2:18 PM Jon Forrest <[email protected]> wrote:
...
> make: *** No rule to make target 'lexer.l', needed by 'lexer.c'.  Stop.
>
> Shouldn't this be
>
> make: *** No rule to make prerequisite 'lexer.l', needed by 'lexer.c'.
> Stop.

Well, make treats each prerequisite as a target and looks for a rule
to update it.
In this case make is looking for a rule to update lexer.i and in that
(absent) rule lexer.i is a target.

regards, Dmitry

Reply via email to