On Wed, 2011-06-08 at 15:43 +0200, Alexandre BOUIN wrote:

> DIRS = toto1 toto2
> 
> .PHONY: $(DIRS) all clean
> 
> all: $(DIRS)
> 
> $(DIRS):
>                 @echo DIRS = $(DIRS)
>                 @$(MAKE) -s -C $@
> 
> I really need a clean way to explain this root Makefile how dependencies are
> made.
> 
> Does anyone has some ideas on this subject ?

Why not just add:

        toto1: toto2

??


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

Reply via email to