help-make
[Top][All Lists]
Advanced

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

Different Compiler Options within one Makefile


From: Erik Rull
Subject: Different Compiler Options within one Makefile
Date: Fri, 5 Jun 2009 12:08:19 -0700 (PDT)

Hi all,

I want to compile a library with differently compiled .o's.

A list of files are nonoptimized and another list of files will be compiled
with -O3.

I found no way to do sth. like that:

CXXNONOPTIMIZED = -O0 
CXXOPTIMIZED = -O3

library: optimized nonoptimized

optimized: file1.o file2.o # these should be compiled with CXXOPTIMIZED 

nonoptimized: file3.o file4.o # these should be compiled with
CXXNONOPTIMIZED


Any Ideas?

Best regards,

Erik

-- 
View this message in context: 
http://www.nabble.com/Different-Compiler-Options-within-one-Makefile-tp23891310p23891310.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

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