Re: Clarification of 2 Trivial Issues?
Paul Smith <[email protected]> Thu, 17 Feb 2022 08:54:07 -0500
| Newsgroups | gmane.comp.gnu.make.devel |
|---|---|
| Organization | GNU's Not UNIX! |
| Message-ID | <[email protected]> |
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.