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结尾的文件。(如果没有%,那么模式必须完全符合前提条件名字,这个没有多大用处)

后文待续

你可能感兴趣的:(Make)