Clean intermediate files.

svn path=/branches/xmlbuildsystem/; revision=13084
This commit is contained in:
Casper Hornstrup 2005-01-16 18:30:40 +00:00
parent e7a44a6878
commit c5557e2907

View file

@ -558,6 +558,10 @@ MingwModuleHandler::GenerateLinkerCommand ( const Module& module,
importLibraryDependencies.c_str (), importLibraryDependencies.c_str (),
GetLinkerMacro ( module ).c_str () ); GetLinkerMacro ( module ).c_str () );
fprintf ( fMakefile,
"\t${rm} %s\n",
junk_tmp.c_str () );
fprintf ( fMakefile, fprintf ( fMakefile,
"\t${dlltool} --dllname %s --base-file %s --def %s --output-exp %s --kill-at\n", "\t${dlltool} --dllname %s --base-file %s --def %s --output-exp %s --kill-at\n",
targetName.c_str (), targetName.c_str (),
@ -565,6 +569,10 @@ MingwModuleHandler::GenerateLinkerCommand ( const Module& module,
FixupTargetFilename ( module.GetBasePath () + SSEP + module.importLibrary->definition ).c_str (), FixupTargetFilename ( module.GetBasePath () + SSEP + module.importLibrary->definition ).c_str (),
temp_exp.c_str () ); temp_exp.c_str () );
fprintf ( fMakefile,
"\t${rm} %s\n",
base_tmp.c_str () );
fprintf ( fMakefile, fprintf ( fMakefile,
"\t%s %s %s -o %s %s %s %s\n\n", "\t%s %s %s -o %s %s %s %s\n\n",
linker.c_str (), linker.c_str (),
@ -574,6 +582,10 @@ MingwModuleHandler::GenerateLinkerCommand ( const Module& module,
objectFilenames.c_str (), objectFilenames.c_str (),
importLibraryDependencies.c_str (), importLibraryDependencies.c_str (),
GetLinkerMacro ( module ).c_str () ); GetLinkerMacro ( module ).c_str () );
fprintf ( fMakefile,
"\t${rm} %s\n\n",
temp_exp.c_str () );
} }
else else
{ {