aboutsummaryrefslogtreecommitdiff
path: root/src/target.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-07-31 17:23:04 +0000
committerMike Buland <eichlan@xagasoft.com>2006-07-31 17:23:04 +0000
commitb672fa69c4c98509f8ee251b87300e3fcbe6bdc8 (patch)
tree064212cec710fc5bfd5f2b75dd2a502ba9f66eba /src/target.cpp
parent9139f1df4cda80b91ab68e5de27e85eaa4c54682 (diff)
downloadbuild-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.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