diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-31 17:23:04 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-31 17:23:04 +0000 |
commit | b672fa69c4c98509f8ee251b87300e3fcbe6bdc8 (patch) | |
tree | 064212cec710fc5bfd5f2b75dd2a502ba9f66eba /src/target.cpp | |
parent | 9139f1df4cda80b91ab68e5de27e85eaa4c54682 (diff) | |
download | build-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.tar.gz build-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.tar.bz2 build-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.tar.xz build-b672fa69c4c98509f8ee251b87300e3fcbe6bdc8.zip |
We're almost to rule/command generation, then only a couple of steps before it
will do it all!
Diffstat (limited to '')
-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 | ||