X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectfile.h;h=f21fd31160c65b264bf17a7b74ca99341a1bac2b;hb=51d5a0f618faabfce9a0a5d5dd64b0b0d52b97cb;hp=8b58e7a1ae93f14ecd6b4702c47c3b3af785ec19;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/objectfile.h b/source/objectfile.h index 8b58e7a..f21fd31 100644 --- a/source/objectfile.h +++ b/source/objectfile.h @@ -14,7 +14,7 @@ class ObjectFile: public FileTarget private: const Component ∁ SourceFile &source; - TargetList new_deps; + Dependencies new_deps; public: ObjectFile(Builder &, const Component &, SourceFile &); @@ -29,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 &); };