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: Jon Forrest
Subject: Re: Clarification of 2 Trivial Issues?
Date: Thu, 17 Feb 2022 08:34:49 -0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0



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



reply via email to

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