aboutsummaryrefslogtreecommitdiff
path: root/src/targetfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/targetfile.cpp')
-rw-r--r--src/targetfile.cpp18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/targetfile.cpp b/src/targetfile.cpp
index 8f6651e..dc9e597 100644
--- a/src/targetfile.cpp
+++ b/src/targetfile.cpp
@@ -18,7 +18,23 @@ void TargetFile::check( Build &bld )
18 printf("Target file checking: %s\n", getName().c_str() ); 18 printf("Target file checking: %s\n", getName().c_str() );
19 19
20 Rule *pRule = bld.getRule( getRule() ); 20 Rule *pRule = bld.getRule( getRule() );
21 pRule->execute(); 21 PerformList lPerf;
22 StringList lFinal = pRule->execute( bld, getInput(), lPerf );
23
24 printf("Input: ");
25 for( StringList::iterator i = getInput().begin();
26 i != getInput().end(); i++ )
27 {
28 if( i != getInput().begin() ) printf(", ");
29 printf("%s", (*i).c_str() );
30 }
31 printf("\nFinal: ");
32 for( StringList::iterator i = lFinal.begin(); i != lFinal.end(); i++ )
33 {
34 if( i != lFinal.begin() ) printf(", ");
35 printf("%s", (*i).c_str() );
36 }
37 printf("\n");
22} 38}
23 39
24void TargetFile::clean( Build &bld ) 40void TargetFile::clean( Build &bld )