zoukankan      html  css  js  c++  java
  • GNU make manual 翻译(八十九)

    继续翻译

    4.5.2 The `vpath' Directive                        
    ---------------------------                        
                            
    Similar to the `VPATH' variable, but more selective, is the `vpath' directive (note lower case), which allows you to specify a search path for a particular class of file names: those that match a particular pattern.  Thus you can supply certain search directories for one class of file names and other directories (or none) for other file names.                        
                            
       There are three forms of the `vpath' directive:
    `vpath PATTERN DIRECTORIES'                        
         Specify the search path DIRECTORIES for file names that match PATTERN.  
                            
         The search path, DIRECTORIES, is a list of directories to be searched, separated by colons (semi-colons on MS-DOS and MS-Windows) or blanks, just like the search path used in the `VPATH' variable.                        

    4.5.2 vpath 指令 
    ---------------------------
    和 VPATH 变量类似,但是有更多的选择余地的,是 vpath 指令(注意小写字符), 它允许你为一个特定类别的文件名指定搜索路径: 那些可以匹配特定模式者。这样你可以为某种类别的文件指定一个搜索路径,为其余的文件指定其他的搜索路径。

    可以有三种形式的 vpath 指令

    vpath PATTERN DIRECTORIES      

    制定满足特定的模式的文件名的搜索路径。

    The search path, DIRECTORIES, is a list of directories to be
    searched, separated by colons (semi-colons on MS-DOS and
    MS-Windows) or blanks, just like the search path used in the
    `VPATH' variable.

    此搜索路径--DIRECTORIES,是被搜索的目录的列表,用冒号分隔(在MS-DOS和MS-Windows是分号)或者用空格分隔,就和在 VPATH 变量中一样。

    后文待续

  • 相关阅读:
    Leetcode 15 3Sum
    Leetcode 383 Ransom Note
    用i个点组成高度为不超过j的二叉树的数量。
    配对问题 小于10 1.3.5
    字符矩阵的旋转 镜面对称 1.2.2
    字符串统计 连续的某个字符的数量 1.1.4
    USACO twofive 没理解
    1002 All Roads Lead to Rome
    USACO 5.5.1 求矩形并的周长
    USACO 5.5.2 字符串的最小表示法
  • 原文地址:https://www.cnblogs.com/gaojian/p/2693796.html
Copyright © 2011-2022 走看看