automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: seperate CFLAGS/LFLAFS


From: Christian Rössel
Subject: Re: seperate CFLAGS/LFLAFS
Date: Wed, 15 Apr 2009 16:39:55 +0200
User-agent: Thunderbird 1.5.0.14 (X11/20060911)

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

[Prev in Thread] Current Thread [Next in Thread]