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 变量中一样。

    后文待续

  • 相关阅读:
    javascript 基础知识-1
    AngularJs-指令和指令之间的交互(动感超人)
    AngularJs-指令和控制器交互
    奇点大学公开课之尼葛洛庞帝讲述物联网和智能设备
    AngularJs-数据绑定
    AngularJs-指令1
    AngularJs-MVC之路由、模块以及依赖注入
    AngularJS-MVC
    利用canvas制作图片(可缩放和平移)+相框+文字
    Django rest framework 认证组件源码分析
  • 原文地址:https://www.cnblogs.com/gaojian/p/2693796.html
Copyright © 2011-2022 走看看