mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Depend on the object file directory, not the object file.
svn path=/branches/xmlbuildsystem/; revision=14068
This commit is contained in:
@@ -725,8 +725,9 @@ MingwModuleHandler::GenerateGccCommand ( const Module& module,
|
||||
string objectFilename = PassThruCacheDirectory (
|
||||
GetObjectFilename ( module, sourceFilename ) );
|
||||
fprintf ( fMakefile,
|
||||
"%s: %s\n",
|
||||
"%s: %s %s\n",
|
||||
objectFilename.c_str (),
|
||||
GetDirectory ( objectFilename ).c_str (),
|
||||
deps.c_str () );
|
||||
fprintf ( fMakefile, "\t$(ECHO_CC)\n" );
|
||||
fprintf ( fMakefile,
|
||||
@@ -748,7 +749,7 @@ MingwModuleHandler::GenerateGccAssemblerCommand ( const Module& module,
|
||||
fprintf ( fMakefile,
|
||||
"%s: %s %s\n",
|
||||
objectFilename.c_str (),
|
||||
objectFilename.c_str (),
|
||||
GetDirectory ( objectFilename ).c_str (),
|
||||
sourceFilename.c_str () );
|
||||
fprintf ( fMakefile, "\t$(ECHO_GAS)\n" );
|
||||
fprintf ( fMakefile,
|
||||
@@ -769,7 +770,7 @@ MingwModuleHandler::GenerateNasmCommand ( const Module& module,
|
||||
fprintf ( fMakefile,
|
||||
"%s: %s %s\n",
|
||||
objectFilename.c_str (),
|
||||
objectFilename.c_str (),
|
||||
GetDirectory ( objectFilename ).c_str (),
|
||||
sourceFilename.c_str () );
|
||||
fprintf ( fMakefile, "\t$(ECHO_NASM)\n" );
|
||||
fprintf ( fMakefile,
|
||||
@@ -794,7 +795,7 @@ MingwModuleHandler::GenerateWindresCommand ( const Module& module,
|
||||
fprintf ( fMakefile,
|
||||
"%s: %s %s $(WRC_TARGET)\n",
|
||||
objectFilename.c_str (),
|
||||
objectFilename.c_str (),
|
||||
GetDirectory ( objectFilename ).c_str (),
|
||||
sourceFilename.c_str () );
|
||||
fprintf ( fMakefile, "\t$(ECHO_WRC)\n" );
|
||||
fprintf ( fMakefile,
|
||||
|
||||
Reference in New Issue
Block a user