[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: for loop question
From: |
Mike Gibson |
Subject: |
Re: for loop question |
Date: |
Thu, 26 Feb 2004 11:29:22 -0700 |
User-agent: |
KMail/1.5.1 |
You didn't look hard enough.
http://www.gnu.org/software/make/manual/html_chapter/make_8.html#SEC87
You can also use the shell version of for.
Mike Gibson
On Thursday 26 February 2004 11:22 am, Rousselle, Christine wrote:
> Hi,
>
> Is there a way to write a for or foreach loop with a rule in the makefile?
> I want to be able to do something like:
>
> foreach cam, $(CAMLIST) prerequisites;
> EXEC.sythesize
> EXEC.compile
> EXEC.parse_results
> end
>
> I don't really see anything like that in the GNU Makefile docs. Do I need
> to generate my makefile with a perl or autoconfig script first that
> basically expands the for loop?
>
> Thanks,
> Christine
>
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-make