X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectfile.h;h=f21fd31160c65b264bf17a7b74ca99341a1bac2b;hb=be6c1ae1dcc97cb3e3019c0384f1bc933fcd321c;hp=7cc6f604c685ef343d744d39dfb4067cde2240a2;hpb=66d1078c04849ec17a7343d0494d6ed087e04318;p=builder.git diff --git a/source/objectfile.h b/source/objectfile.h index 7cc6f60..f21fd31 100644 --- a/source/objectfile.h +++ b/source/objectfile.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef OBJECTFILE_H_ #define OBJECTFILE_H_ @@ -21,7 +14,7 @@ class ObjectFile: public FileTarget private: const Component ∁ SourceFile &source; - TargetList new_deps; + Dependencies new_deps; public: ObjectFile(Builder &, const Component &, SourceFile &); @@ -36,12 +29,11 @@ public: private: /** Recursively looks for header targets and adds them as dependencies. */ - void find_depends(Target *); + void find_depends(FileTarget *); /** Adds a target to the dependency list as well as the new dependencies list. */ void add_depend(Target *); - virtual Action *create_action(); static Msp::FS::Path generate_target_path(const Component &, const std::string &); };