diff options
Diffstat (limited to 'src/target.cpp')
| -rw-r--r-- | src/target.cpp | 16 |
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 | |||
| 31 | void Target::addInput( const char *sInput ) | ||
| 32 | { | ||
| 33 | lInput.push_back( sInput ); | ||
| 34 | } | ||
| 35 | |||
| 36 | void Target::addOutput( const char *sOutput ) | ||
| 37 | { | ||
| 38 | lOutput.push_back( sOutput ); | ||
| 23 | } | 39 | } |
| 24 | 40 | ||
