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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…