GNU make 将按什么顺序创建先决条件? [英] In what order prerequisites will be made by the GNU make?

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

问题描述

假设我们有规则:

a: b c d e

bcde相互独立.

bcde的制作顺序是否已定义?似乎它们通常会按 bcde 的顺序制作,但有时可能会这样发生了,顺序会不同吗?

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?

推荐答案

当然,如果我使用 make -ja,它们可能会同时构建(取决于 bcde 依次具有其他/相互关联的依赖关系).

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 make 将按什么顺序创建先决条件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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