X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectfile.h;h=af47c66863088ae2448f718e932338d42957ca99;hb=9ab7e80ccd0a8043609d6a09f4119fa6e1d4ad9c;hp=21483147cfa20cb7dd22b115450baec00e8ed89e;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/objectfile.h b/source/objectfile.h index 2148314..af47c66 100644 --- a/source/objectfile.h +++ b/source/objectfile.h @@ -14,7 +14,6 @@ class ObjectFile: public FileTarget private: const Component ∁ SourceFile &source; - TargetList new_deps; public: ObjectFile(Builder &, const Component &, SourceFile &); @@ -29,11 +28,7 @@ public: private: /** Recursively looks for header targets and adds them as dependencies. */ - void find_depends(Target *); - - /** Adds a target to the dependency list as well as the new dependencies - list. */ - void add_depend(Target *); + void find_depends(FileTarget *); static Msp::FS::Path generate_target_path(const Component &, const std::string &); };