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

后文待续


本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/09/19/2693700.html,如需转载请自行联系原作者
目录
相关文章
|
Linux C语言
make: gcc:命令未找到
make: gcc:命令未找到
make: gcc:命令未找到