Re: how do I change compilation flags for selected targets?

Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On Wed, 5 Nov 2003, Joerg Beyer wrote:
> ----------------------------------
> SOURCES =·
>     main.cpp
>     ext.cpp


My approach (not clean AAP, and not stamped with the Seal of Bram's
Approval) would be to

SOURCES = main.cpp { add_CFLAGS = -O1 } ext.cpp { add_CFLAGS = -O2 }

and use that. This is off the top of my head, I don't even know if it
really works.

-- 
 Adriaan de Groot    adridg-FlD2LfDziEhmR6Xm/[email protected]     Kamer A6020     024-3652272
GPG Key Fingerprint 934E 31AA 80A7 723F 54F9  50ED 76AC EE01 FEA2 A3FE
               http://www.cs.kun.nl/~adridg/research/



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.