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
|
<h1 class="section">Searching Directories for Prerequisites</h1> <p>For large systems, it is often desirable to put sources in a separate directory from the binaries. The <em>directory search</em> features of <code>make</code> facilitate this by searching several directories automatically to find a prerequisite. When you redistribute the files among directories, you do not need to change the individual rules, just the search paths. </p> <table class="menu" border="0" cellspacing="0"> <tr>
<td align="left" valign="top">• <a href="general-search" accesskey="1">General Search</a>
</td>
<td> </td>
<td align="left" valign="top">Specifying a search path that applies to every prerequisite. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="selective-search" accesskey="2">Selective Search</a>
</td>
<td> </td>
<td align="left" valign="top">Specifying a search path for a specified class of names. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="search-algorithm" accesskey="3">Search Algorithm</a>
</td>
<td> </td>
<td align="left" valign="top">When and how search paths are applied. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="recipes_002fsearch" accesskey="4">Recipes/Search</a>
</td>
<td> </td>
<td align="left" valign="top">How to write recipes that work together with search paths. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="implicit_002fsearch" accesskey="5">Implicit/Search</a>
</td>
<td> </td>
<td align="left" valign="top">How search paths affect implicit rules. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="libraries_002fsearch" accesskey="6">Libraries/Search</a>
</td>
<td> </td>
<td align="left" valign="top">Directory search for link libraries. </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/Directory-Search.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/Directory-Search.html</a>
</p>
</div>
|