Clean proxy makefiles on 'make clean'

svn path=/trunk/; revision=15810
This commit is contained in:
Casper Hornstrup 2005-06-05 16:47:42 +00:00
parent 5c0d2bc84c
commit 012786bd8f

View file

@ -1732,8 +1732,15 @@ MingwModuleHandler::GenerateRules ()
string cppc = ( module.host == HostTrue ? "${host_gpp}" : "${gpp}" );
string ar = ( module.host == HostTrue ? "${host_ar}" : "${ar}" );
string targetMacro = GetTargetMacro ( module );
if ( module.name != "zlib" ) /* Avoid make warning */
{
string proxyMakefile = PassThruCacheDirectory (
NormalizeFilename ( module.GetBasePath () + SSEP + "makefile" ),
backend->outputDirectory );
CLEAN_FILE ( proxyMakefile );
}
string targetMacro = GetTargetMacro ( module );
CLEAN_FILE ( targetMacro );
// generate phony target for module name