From 012786bd8f30d4c453527bb0fc2825867948aaa2 Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Sun, 5 Jun 2005 16:47:42 +0000 Subject: [PATCH] Clean proxy makefiles on 'make clean' svn path=/trunk/; revision=15810 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index d196ba473a2..b351f248cad 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -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