Re: Clarification of 2 Trivial Issues?
Jon Forrest <[email protected]> Thu, 17 Feb 2022 08:34:49 -0800
| Newsgroups | gmane.comp.gnu.make.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/17/2022 5:54 AM, Paul Smith wrote:
> That's correct.
Thanks. Are you going to change the comment in the sources?
Care to comment on the 2nd part of the 2nd question
asking about the dep structures? I'm pretty sure it's
true but I'd appreciate a confirmation.
2) In "dep.h" I see the comment
/* Structure representing one dependency of a file.
Each struct file's 'deps' points to a chain of these,
through 'next'. [...] */
Let's say I have a makefile with the following target and prerequisites:
main.o : main.c defs.h
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"?
Cordially,
Jon Forrest