X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.cpp;h=ba37f3f59dc5d11653fe5f5a5dfe4282d6134b17;hb=b0eb979b0dc79269cb3bb5bb2e67ef4e80689cfe;hp=42142536607b9a4540929703ae14383538823ea8;hpb=59ac0a44d6edf179c01604c6ced744873213f855;p=builder.git diff --git a/source/sourcefile.cpp b/source/sourcefile.cpp index 4214253..ba37f3f 100644 --- a/source/sourcefile.cpp +++ b/source/sourcefile.cpp @@ -7,6 +7,8 @@ using namespace std; using namespace Msp; +#include + SourceFile::SourceFile(Builder &b, const Component *c, const string &n): Target(b, c?&c->get_package():0, n), comp(c) @@ -31,10 +33,6 @@ void SourceFile::find_depends() if(hdr) add_depend(hdr); } -} -void SourceFile::check_rebuild() -{ - for(list::iterator i=depends.begin(); i!=depends.end(); ++i) - vmtime=max(vmtime, (*i)->get_virtual_mtime()); + deps_ready=true; }