aboutsummaryrefslogtreecommitdiff
path: root/src/target.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/target.cpp')
-rw-r--r--src/target.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/target.cpp b/src/target.cpp
index b0967bf..00d16b4 100644
--- a/src/target.cpp
+++ b/src/target.cpp
@@ -20,5 +20,21 @@ void Target::debug()
20 sName.getString(), 20 sName.getString(),
21 sRule.getString() 21 sRule.getString()
22 ); 22 );
23 printf(" Input list:\n");
24 for( std::list<std::string>::iterator i = lInput.begin();
25 i != lInput.end(); i++ )
26 {
27 printf(" %s\n", (*i).c_str() );
28 }
29}
30
31void Target::addInput( const char *sInput )
32{
33 lInput.push_back( sInput );
34}
35
36void Target::addOutput( const char *sOutput )
37{
38 lOutput.push_back( sOutput );
23} 39}
24 40