966 Searching Directories for Dependencies Contents|Index|Previous|Next

Searching Directories for Dependencies

For large systems, it is often desirable to put sources in a separate di-rectory 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.

See the following documentation for more discussion.

VPATH: Search Path for All Dependencies

The vpath Directive

Writing Shell Commands with Directory Search

Directory Search and Implicit Rules

Directory Search for Link Libraries

0