Hi,

Suppose I have a Makefile for project A which calls a recursive make for project B.

I want to *always* run the Makefile for B, so its dependencies are checked and B is remade when necessary. This suggests a phony target for it:

A: B
        <commands for making A>

.PHONY: B
B:
        $(MAKE) -C bdir

But then A is always remade regardless of B having changed or not.

Could someone please suggest a solution to this problem? Please note I am not subscribed to the list, so please cc me.

Thanks,

Rodrigo


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to