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.



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to