|
From: | xiangfeng shen |
Subject: | Re: Help-make Digest, Vol 77, Issue 5 |
Date: | Fri, 10 Apr 2009 21:17:21 +0800 |
On Fri, Apr 10, 2009 at 09:45:33AM +0800, xiangfeng shen wrote:I just tried it myself.
> Hi Sam,
>
> I want to replace the for loop to avoid BAD DO.
> So i tried the 3) method, but it does not work :(
> any more suggestion?
It works for me with the following Makefile:
=====
SUBDIRS = foo bar baz
subdirs: $(SUBDIRS)
.PHONY: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
=====
Try to use that pattern and it should work for you too.
Sam
[Prev in Thread] | Current Thread | [Next in Thread] |