GNU make manual 翻译(八十)

继续翻译

   The normal prerequisites section may of course be empty.  Also, you may still declare multiple lines of prerequisites for the same target: they are appended appropriately (normal prerequisites are appended to the list of normal prerequisites; order-only prerequisites are appended to the list of order-only prerequisites).  Note that if you declare the same file to be both a normal and an order-only prerequisite, the normal prerequisite takes precedence (since they have a strict superset of the behavior of an order-only prerequisite).  

普通的前提条件当然可以为空。你也可以定义为同一个目的定义多行的前提条件: 它们被适当地连接到一起。

(普通前提条件连接普通前提条件,order-only前提条件连接order-only 前提条件)。

请注意如果你把同一个文件既定义为普通前提条件又定义为order-only前提条件,普通前提条件优先。(因为它们有一个对order-only 前提条件的严格的超集)

后文待续

posted @ 2012-09-18 16:34  健哥的数据花园  阅读(180)  评论(0编辑  收藏  举报