make-alpha
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clarification of 2 Trivial Issues?


From: Paul Smith
Subject: Re: Clarification of 2 Trivial Issues?
Date: Thu, 17 Feb 2022 08:54:07 -0500
User-agent: Evolution 3.42.4 (by Flathub.org))

On Wed, 2022-02-16 at 20:35 -0800, Jon Forrest wrote:
> 1) In "filedef.h I see the composition of the "file" struct, with the
> comment
> 
> /* Structure that represents the info on one file
>     that the makefile says how to make.
>     All of these are chained together through 'next'.  */
> 
> But there is no field named "next" in a "file" struct.
> Instead, there's a field named "deps", which is a pointer to the
> "dep" structure. The "dep" structure does contain a "next" field.

I think the "next" field got renamed to "prev" and the comment was not
updated.

> In other words, in a makefile without double-colons, there's no
> chaining at all in the "file" structure.

That's correct.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]