Philip Herron wrote:
> Hey
> 
> I was just wondering say you have a Makefile.am like this:
> 
> bin_PROGRAMS= myprog
> AM_YFLAGS= -d
> AM_LFLAGS=
> 
> mprog_CFLAGS= -I$(top_srcdir)/include
> myprog_SOURCES= foo1.c foo2.c bla.l bla_gram.y bla2.l bla bla bla....
> 
> Can you specify seperate FLAG like LFLAG to one single source.
> 
> Like it would solve alot of problems if you could run this but run the
> lexer -Pprefix option on only one of those lexer files. or specify
> sperate prefixes for each lexer/yacc
> 
> -Phil

Hi Phil,

I not sure if this applies also to your lexer stuff, but there is an
"Per-Object Flags Emulation", see
http://www.gnu.org/software/automake/manual/automake.html#Per_002dObject-Flags

Cheers,
Christian


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Reply via email to