GNU make manual 翻译(九十)

简介:
继续翻译

复制代码
`vpath PATTERN'                        
     Clear out the search path associated with PATTERN.                        
                        
`vpath'                        
     Clear all search paths previously specified with `vpath' 
     directives.                        
                        
   A `vpath' pattern is a string containing a `%' character.  The string must match the file name of a prerequisite that is being searched for, the `%' character matching any sequence of zero or more characters (as in pattern rules; *note Defining and Redefining Pattern Rules:Pattern Rules.).  For example, `%.h' matches files that end in `.h'.(If there is no `%', the pattern must match the prerequisite exactly, 
which is not useful very often.)                        
复制代码
vpath PATTERN 

清除和PATTERN 关联的搜索路径

vpath      
清除所有之前用 vpath 设定的搜索路径

一个 vpath 模式是一个字符串,其中包含% 字符。这个字符串必须匹配要搜索的前提条件的文件名字,%字符匹配灵鸽或者多个字符(作为模式的规则 *note Defining and Redefining Pattern Rules:Pattern Rules.)。例如,%.h 匹配以.h结尾的文件。(如果没有%,那么模式必须完全符合前提条件名字,这个没有多大用处)

后文待续

本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/09/19/2693835.html,如需转载请自行联系原作者
目录
相关文章
|
Linux C语言
make: gcc:命令未找到
make: gcc:命令未找到
make: gcc:命令未找到
|
C语言 C++ Perl
如何处理错误消息Please install the gcc make perl packages
如何处理错误消息Please install the gcc make perl packages
143 0