GNU make manual 翻译(八十七)

继续翻译

4.5 Searching Directories for Prerequisites                        
===========================================                        
                        
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 prerequisite.  When you redistribute the files among directories, you do not need to change the individual rules, just the search paths.

4.5 为前提条件搜索目录

对大型系统而言,经常是有目的的把源程序目录和二进制目录分开。

make 的目录搜索功能通过自动搜索几个目录以找到前提条件。当你重新在目录间分发文件时,你不需要改变具体的规则,只需要设置搜索路径。

后文待续

原文地址:https://www.cnblogs.com/gaojian/p/2693700.html