• 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.

    后文待续

  • 相关阅读:
    day 46
    day 45 JavaScript 下 函数
    day 42 css 样式
    44 JavaScript
    41 前端
    40 协程 i/0多路复用
    39 线程池 同一进程间的队列
    38 线程 锁 事件 信号量 利用线程实现socket 定时器
    37 生产者消费者模型 管道 进程间的数据共享 进程池
    演示使用string对象
  • 原文地址:https://www.cnblogs.com/gaojian/p/2684472.html
Copyright © 2020-2023  润新知