• GNU make manual 翻译(七十五)


    继续翻译

    4.2 Rule Syntax                        
    ===============                        
                            
    In general, a rule looks like this:                        
                            
         TARGETS : PREREQUISITES                        
                 RECIPE                        
                 ...                        
                            
    or like this:                        
                            
         TARGETS : PREREQUISITES ; RECIPE                        
                 RECIPE                        
                 ...                        
                            
       The TARGETS are file names, separated by spaces.  Wildcard characters may be used (*note Using Wildcard Characters in File Names: Wildcards.) and a name of the form `A(M)' represents member M in  archive file A (*note Archive Members as Targets: Archive Members.). 
    Usually there
    is only one target per rule, but occasionally there is a reason to have more (*note Multiple Targets in a Rule: Multiple Targets.).

    4.2 规则 语法 
    ===============
    通常,一个规则长得这样:

    TARGETS : PREREQUISITES
    RECIPE
    ...

    或者这样:

    TARGETS : PREREQUISITES ; RECIPE
    RECIPE
    ...

    目标是文件名,用空格分隔。可以使用通配符 (*note Using Wildcard Characters in File Names:
    Wildcards.) ;而且 形如 A(M) 的名字,表示归档文件A的 成员M (*note Archive Members as Targets: Archive Members.)。


    通常每个规则仅有一个目的,但是某些场合,也有多个目的的 (*note Multiple Targets in a Rule: Multiple Targets.)。

    后文待续

  • 相关阅读:
    转载:通过Servlet生成验证码
    转载:web工程中URL地址的推荐写法
    使用Git上传本地项目代码到github
    $watch 和 $apply
    平时用的sublime插件
    zTree.js
    js
    npm install详解
    git
    git基础
  • 原文地址:https://www.cnblogs.com/gaojian/p/2690516.html
Copyright © 2020-2023  润新知