Or Peter's most excellent <outofdate>, which belong to Ant-Contrib.

I've used it for yacc/lex grammars, much like a Make rule (albeit more
verbose ;-)

Highly recommanded. --DD

On 3/15/06, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote:
> Please look at <apply> task:
> http://ant.apache.org/manual/CoreTasks/apply.html
>
> - Alexey.
>
> Rodrigo de Salvo Braz wrote:
> > Hi,
> >
> > I am learning Ant and would like to write something like a pattern
> > rule as used in 'make'. Something like:
> >
> > %.o: %.cpp
> >     cc ...
> >
> > I read the manual but didn't notice something that would do that.
> > Could anyone please give me a pointer?
> >
> > Thanks,
> >
> > Rodrigo
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to