Title: Message
Hi Guys,
 
I just had a quick question on whether there was any way to break out of a foreach loop when a certain condition has been reached.
 
I'd like to do the following:
 
$(foreach dir, $(DIRS), \
        $(if <condition>,   <statement>; \
                                       <break_out_of_loop>) )
 
I wasn't able to find anything in the documentation that provided this kind of functionality.
 
Thanks,
Milan
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to