[LLVMbugs] 'make clean' only removes object files for Debug not Release

Misha Brukman brukman at uiuc.edu
Sun Dec 19 15:09:36 PST 2004


On Mon, Dec 20, 2004 at 12:06:20AM +0100, Henrik Bach wrote:
> When I run 'make clean' it only removes object files for Debug not Release.

If you configured for Debug (by default), then "make clean" only removes
"Debug" object files.

If you compile with make ENABLE_OPTIMIZED=1, then you build Release.
If you run "make ENABLE_OPTIMIZED=1 clean", then you clean Release
build.

Or, just ./configure --enable-optimized (I believe that's the switch,
please check) and "make" and "make clean" will work with the Release
build.

-- 
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu




More information about the llvm-bugs mailing list