automake
[Top][All Lists]
Advanced

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

Re: seperate CFLAGS/LFLAFS


From: Philip Herron
Subject: Re: seperate CFLAGS/LFLAFS
Date: Wed, 15 Apr 2009 16:24:43 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Rössel wrote:
> 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
> -------------------------------------------------------------------
> -------------------------------------------------------------------
> 
> 

Hey

Another thanks i think this is what i am looking for playing with it now
i'll post back to see if it fixes it! :)

But it looks promising it links into my other thread with multiple
binaries looks similar idea! :)

- -Phil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknl/DYACgkQAhcOgIaQQ2GgiACffghCtoTml+2hmLA94bOhMKIW
UUkAn0E/Om23aw5AYaPpmiIwYfuaomks
=MSva
-----END PGP SIGNATURE-----




reply via email to

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