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

Re: [Xen-devel] [PATCH] tools top level makefile cleanup



On Wed, 23 Mar 2005, Anthony Liguori wrote:

> The following works for me.  You need a default rule or else make gets
> really confused but the wildcard rule will catch everything else.
>
> SUBDIRS=sub sub1
>
> all:
>     @for i in $(SUBDIRS); do \
>        $(MAKE) -C $$i $@; \
>     done
>
> %:
>     @for i in $(SUBDIRS); do \
>        $(MAKE) -C $$i $@; \
>     done

No, that won't work, as if the sub-makes fail, the shell loop doesn't
stop(hint, use set -e).  Also, it breaks -j.

Please go back and reread the previous mails.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.