1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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>
|