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/conditionals.html | |
new repository
Diffstat (limited to 'devdocs/gnu_make/conditionals.html')
| -rw-r--r-- | devdocs/gnu_make/conditionals.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devdocs/gnu_make/conditionals.html b/devdocs/gnu_make/conditionals.html new file mode 100644 index 00000000..99b73c01 --- /dev/null +++ b/devdocs/gnu_make/conditionals.html @@ -0,0 +1,21 @@ + <h1 class="chapter">Conditional Parts of Makefiles</h1> <p>A <em>conditional</em> directive causes part of a makefile to be obeyed or ignored depending on the values of variables. Conditionals can compare the value of one variable to another, or the value of a variable to a constant string. Conditionals control what <code>make</code> actually “sees” in the makefile, so they <em>cannot</em> be used to control recipes at the time of execution. </p> <table class="menu" border="0" cellspacing="0"> <tr> +<td align="left" valign="top">• <a href="conditional-example" accesskey="1">Conditional Example</a> +</td> +<td> </td> +<td align="left" valign="top">Example of a conditional </td> +</tr> <tr> +<td align="left" valign="top">• <a href="conditional-syntax" accesskey="2">Conditional Syntax</a> +</td> +<td> </td> +<td align="left" valign="top">The syntax of conditionals. </td> +</tr> <tr> +<td align="left" valign="top">• <a href="testing-flags" accesskey="3">Testing Flags</a> +</td> +<td> </td> +<td align="left" valign="top">Conditionals that test flags. </td> +</tr> </table><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/Conditionals.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/Conditionals.html</a> + </p> +</div> |
