Think "functional programming language" rather than "procedural programming language".
What exactly do you want to do? Maybe there's another way to do it. Noel > "Bhatt, Milan C" wrote: > > 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 -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
