From 3e0d6fc8cfb6ba564c12e09b4e6579fa9147f276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 15 Dec 2007 10:04:29 +0000 Subject: [PATCH] Fix deletion of generated proxy makefile svn path=/trunk/; revision=31233 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index 53101194147..0f96afe8288 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -2208,9 +2208,14 @@ MingwModuleHandler::GenerateRules () if ( module.name != "zlib" ) /* Avoid make warning */ { - FileLocation proxyMakefile ( OutputDirectory, + DirectoryLocation root; + if ( backend->configuration.GenerateProxyMakefilesInSourceTree ) + root = SourceDirectory; + else + root = OutputDirectory; + FileLocation proxyMakefile ( root, module.output->relative_path, - "makefile" ); + "GNUmakefile" ); CLEAN_FILE ( proxyMakefile ); }