summaryrefslogtreecommitdiff
path: root/devdocs/gnu_make/recipes.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gnu_make/recipes.html
new repository
Diffstat (limited to 'devdocs/gnu_make/recipes.html')
-rw-r--r--devdocs/gnu_make/recipes.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/devdocs/gnu_make/recipes.html b/devdocs/gnu_make/recipes.html
new file mode 100644
index 00000000..56c09046
--- /dev/null
+++ b/devdocs/gnu_make/recipes.html
@@ -0,0 +1,51 @@
+ <h1 class="chapter">Writing Recipes in Rules</h1> <p>The recipe of a rule consists of one or more shell command lines to be executed, one at a time, in the order they appear. Typically, the result of executing these commands is that the target of the rule is brought up to date. </p> <p>Users use many different shell programs, but recipes in makefiles are always interpreted by <samp>/bin/sh</samp> unless the makefile specifies otherwise. See <a href="execution">Recipe Execution</a>. </p> <table class="menu" border="0" cellspacing="0"> <tr>
+<td align="left" valign="top">• <a href="recipe-syntax" accesskey="1">Recipe Syntax</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Recipe syntax features and pitfalls. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="echoing" accesskey="2">Echoing</a>
+</td>
+<td> </td>
+<td align="left" valign="top">How to control when recipes are echoed. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="execution" accesskey="3">Execution</a>
+</td>
+<td> </td>
+<td align="left" valign="top">How recipes are executed. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="parallel" accesskey="4">Parallel</a>
+</td>
+<td> </td>
+<td align="left" valign="top">How recipes can be executed in parallel. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="errors" accesskey="5">Errors</a>
+</td>
+<td> </td>
+<td align="left" valign="top">What happens after a recipe execution error. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="interrupts" accesskey="6">Interrupts</a>
+</td>
+<td> </td>
+<td align="left" valign="top">What happens when a recipe is interrupted. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="recursion" accesskey="7">Recursion</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Invoking <code>make</code> from makefiles. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="canned-recipes" accesskey="8">Canned Recipes</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Defining canned recipes. </td>
+</tr> <tr>
+<td align="left" valign="top">• <a href="empty-recipes" accesskey="9">Empty Recipes</a>
+</td>
+<td> </td>
+<td align="left" valign="top">Defining useful, do-nothing recipes. </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/Recipes.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/Recipes.html</a>
+ </p>
+</div>