]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.cpp
Add command line options (not all of them work yet)
[builder.git] / source / sourcefile.cpp
index 42142536607b9a4540929703ae14383538823ea8..ea76efd28a6fd6435e6d9c2a4f74c50a40c83a31 100644 (file)
@@ -7,6 +7,8 @@
 using namespace std;
 using namespace Msp;
 
+#include <iostream>
+
 SourceFile::SourceFile(Builder &b, const Component *c, const string &n):
        Target(b, c?&c->get_package():0, n),
        comp(c)
@@ -32,9 +34,3 @@ void SourceFile::find_depends()
                        add_depend(hdr);
        }
 }
-
-void SourceFile::check_rebuild()
-{
-       for(list<Target *>::iterator i=depends.begin(); i!=depends.end(); ++i)
-               vmtime=max(vmtime, (*i)->get_virtual_mtime());
-}