|
From: | Rodrigo de Salvo Braz |
Subject: | Recursive dependencies |
Date: | Thu, 30 Mar 2006 23:07:50 -0600 (CST) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |