GNU做什么先决条件呢? [英] In what order prerequisites will be made by the GNU make?

查看:166
本文介绍了GNU做什么先决条件呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我们有规则:

  a:bcde 

b c d e 彼此独立。



使 b c d e 定义?一般来说,它们将按照 b c d e ,但可能有时会发生,订单会不同?

解决方案

当然,如果我使用 make -ja ,他们可能会同时建立(取决于是否 b c d e 依次有其他/相互依赖关系)。


Assuming we have the rule:

a: b c d e

and b, c, d and e are independent of each other.

Is the order of making b, c, d, e defined? It seems that generally they will be made in order b, c, d, e, but may it sometimes happen, that the order will be different?

解决方案

Sure, if I use make -j a, they might all get built at the same time (depending on whether b, c, d, or e in turn have other/interrelated dependencies).

这篇关于GNU做什么先决条件呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆