[Top][All Lists]

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

Re: About g++ option -MM

From: Bernd Strieder
Subject: Re: About g++ option -MM
Date: Thu, 26 Jan 2006 12:43:07 +0100
User-agent: KNode/0.10


address@hidden wrote:

> The problem that I have actually is that, I want to compile two set of
> object files. One set should be compiled with -O3, The other set
> should be compiled with -g.

Learn about vpath (see docs of make) and use different directories for
the object files with different compile options. This way you can
easily add more variants, e.g. with profiling, or whatever.

Bernd Strieder

reply via email to

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