help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help-make Digest, Vol 77, Issue 5


From: Sam Ravnborg
Subject: Re: Help-make Digest, Vol 77, Issue 5
Date: Fri, 10 Apr 2009 07:36:53 +0200
User-agent: Mutt/1.4.2.1i

On Fri, Apr 10, 2009 at 09:45:33AM +0800, xiangfeng shen wrote:
> 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?

I just tried it myself.
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]