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

    继续翻译

       Extra spaces are allowed and ignored at the beginning of the line,
    but the first character must not be a tab (or the value of                        
    `.RECIPEPREFIX')--if the line begins with a tab, it will be considered 
    a recipe line.  Whitespace is required between `include' and the file 
    names, and between file names; extra whitespace is ignored there and at 
    the end of the directive.  A comment starting with `#' is allowed at 
    the end of the line.  If the file names contain any variable or  
    function references, they are expanded.  *Note How to Use Variables: 
    Using Variables.                        
                            
       For example, if you have three `.mk' files, `a.mk', `b.mk', and 
    `c.mk', and `$(bar)' expands to `bish bash', then the following 
    expression                        
                            
         include foo *.mk $(bar)                        
                            
       is equivalent to                        
                            
         include foo a.mk b.mk c.mk bish bash                        

    在行的前面,多个空格是允许的,但是将被忽略。不过第一个字符不能使 tab符号(更准确地说,.RECIPIEPREFIX 的值)--如果一个行开始于 tab 符号,那就会被认为是一个片段行。

    在 include 和 文件名之间需要空格,文件名和文件名之间也需要空格;多余的空格将被忽略。

    在行末,以#开始的行是被允许的。如果文件名包含任何变量或者函数参照,将被展开。

    *Note How to Use Variables: Using Variables.

    后文待续

  • 相关阅读:
    [BZOJ2431] [HAOI2009]逆序对数列
    [Luogu2323] [HNOI2006]公路修建问题
    [Luogu2455] [SDOI2006]线性方程组
    [BZOJ3550] [Sdoi2014]数数
    [Noip2017] 列队
    [Luogu2824] [HEOI2016/TJOI2016]排序
    [BZOJ1060] [ZJOI2007]时态同步
    P1036 选数 题解
    快速幂取模算法详解
    同余定理及其应用
  • 原文地址:https://www.cnblogs.com/gaojian/p/2684472.html
Copyright © 2011-2022 走看看