--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler.cpp 2005-03-25 16:32:46 UTC (rev 14314)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler.cpp 2005-03-25 17:08:30 UTC (rev 14315)
@@ -1281,23 +1281,20 @@
module.name.c_str (),
GetTargetMacro ( module ).c_str () );
- string ar_target;
if ( module.type != ObjectLibrary )
- ar_target = GenerateArchiveTarget ( ar, objectsMacro );
-
- GenerateObjectFileTargets ( cc,
- cppc,
- cflagsMacro,
- nasmflagsMacro,
- windresflagsMacro );
-
- if ( module.type != ObjectLibrary )
{
+ string ar_target ( GenerateArchiveTarget ( ar, objectsMacro ) );
if ( targetMacro != ar_target )
{
CLEAN_FILE ( ar_target );
}
}
+
+ GenerateObjectFileTargets ( cc,
+ cppc,
+ cflagsMacro,
+ nasmflagsMacro,
+ windresflagsMacro );
}
void