开发者

Specifying build dependency in parallel builds using make

This is what I have:

  1. Test scripts under a folder that use some executables in the source tree.

  2. Sources for the executables used above under a separate folder in the source tree.

What I want to achieve:

Do a build, make sure # 2 is done first and only then #1 is done. How do I specify this dependency ? The build is 开发者_高级运维a parallel build and builds other sources under other directories too.

Why : Because during install I want to bundle the executables from # 2 along with the test scripts in #1.


Just make the appropriate executables dependencies of the test scripts. Is there more to it than that?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜