[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question About Gmake Internals
From: |
Paul Smith |
Subject: |
Re: Question About Gmake Internals |
Date: |
Fri, 03 Sep 2021 12:47:33 -0400 |
User-agent: |
Evolution 3.36.5-0ubuntu1 |
On Fri, 2021-09-03 at 09:01 -0700, Jon Forrest wrote:
> Thanks, Paul. I've been looking at variable.c but it isn't clear to
> me when and why it's necessary to create a new variable set.
Variable sets are how make manages scoping in variables.
For one example, automatic variables created for a given recipe are in
a separate variable set. For another example, target-specific
variables are in a separate variable set.
FYI, there is no separate design document anywhere for GNU make.
There's the code, the changelogs, and the commit messages.