(make.info)Directory Search

Next: Phony Targets Prev: Wildcards Up: Rules

Searching Directories for Dependencies

   For large systems, it is often desirable to put sources in a separate
directory from the binaries.  The "directory search" features of `make'
facilitate this by searching several directories automatically to find
a dependency.  When you redistribute the files among directories, you
do not need to change the individual rules, just the search paths.

* General Search
Specifying a search path that applies to every dependency.
* Selective Search
Specifying a search path for a specified class of names.
* Commands/Search
How to write shell commands that work together with search paths.
* Implicit/Search
How search paths affect implicit rules.
* Libraries/Search
Directory search for link libraries.

automatically generated by info2www