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

    后文待续

  • 相关阅读:
    hdu 4947
    hdu 4946
    hdu 4944
    hdu 4942
    hdu 4941
    PAT 【L2-011 玩转二叉树】
    PAT【L2-006 树的遍历】
    XYNUOJ 【2070: 重建二叉树】
    XYNUOJ 【1367: 二叉链表存储的二叉树】
    XYNUOJ 2390【二叉树遍历2】
  • 原文地址:https://www.cnblogs.com/gaojian/p/2693835.html
Copyright © 2020-2023  润新知