How to make a Makefile call another Makefile rules?

你离开我真会死。 提交于 2021-01-29 08:31:51

问题


As the title says:
How can I call a rule in another Makefile from a Makefile?

For example:
I have a folder named "folder1" that has a makefile1 and another folder named "folder2" which has another makefile2.
Now I want to call a rule in makefile1 from make in "folder2".
How can I do that?

来源:https://stackoverflow.com/questions/53569376/how-to-make-a-makefile-call-another-makefile-rules

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!