问题
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