diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gnu_make/values.html | |
new repository
Diffstat (limited to 'devdocs/gnu_make/values.html')
| -rw-r--r-- | devdocs/gnu_make/values.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devdocs/gnu_make/values.html b/devdocs/gnu_make/values.html new file mode 100644 index 00000000..b17308d0 --- /dev/null +++ b/devdocs/gnu_make/values.html @@ -0,0 +1,12 @@ + <h1 class="section">How Variables Get Their Values</h1> <p>Variables can get values in several different ways: </p> <ul> <li> You can specify an overriding value when you run <code>make</code>. See <a href="overriding">Overriding Variables</a>. </li> +<li> You can specify a value in the makefile, either with an assignment (see <a href="setting">Setting Variables</a>) or with a verbatim definition (see <a href="multi_002dline">Defining Multi-Line Variables</a>). </li> +<li> You can specify a short-lived value with the <code>let</code> function (see <a href="let-function">Let Function</a>) or with the <code>foreach</code> function (see <a href="foreach-function">Foreach Function</a>). </li> +<li> Variables in the environment become <code>make</code> variables. See <a href="environment">Variables from the Environment</a>. </li> +<li> Several <em>automatic</em> variables are given new values for each rule. Each of these has a single conventional use. See <a href="automatic-variables">Automatic Variables</a>. </li> +<li> Several variables have constant initial values. See <a href="implicit-variables">Variables Used by Implicit Rules</a>. </li> +</ul><div class="_attribution"> + <p class="_attribution-p"> + Copyright © 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Free Software Foundation, Inc. <br>Licensed under the GNU Free Documentation License.<br> + <a href="https://www.gnu.org/software/make/manual/html_node/Values.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/Values.html</a> + </p> +</div> |
