Re: Clarification of 2 Trivial Issues?

Paul Smith <[email protected]> Thu, 17 Feb 2022 12:52:39 -0500
Newsgroups gmane.comp.gnu.make.devel
Organization GNU's Not UNIX!
Message-ID <[email protected]>
On Thu, 2022-02-17 at 08:34 -0800, Jon Forrest wrote:
> Thanks. Are you going to change the comment in the sources?

Sure.  Hopefully... :)

> Am I right in assuming that the "file" struct for "main.o" will
> have nothing in its "prev" and "next" fields, but its "dep"
> field will have a chain of 2 "dep" structures, one for "main.c"
> and the other for "defs.h" because "main.c" and "def.h" are
> dependencies of "main.o"?

I'm not sure what you mean by "next" field in the "file" struct, but
other than that I believe this is correct.

Of course, you can always break out your trusty debugger and take a
look for yourself as well :).