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: xiangfeng shen
Subject: Re: Help-make Digest, Vol 77, Issue 5
Date: Fri, 10 Apr 2009 21:17:21 +0800

Hi Sam,
 
Thanks for your advice.
I know it can works in Gnumake.
But the clearmake do not support -C dir option.
How to deal with it?
 
thanks.
carl

2009/4/10 Sam Ravnborg <address@hidden>
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]