+/**
+Adds a target to the dependency list as well as the new dependencies list.
+*/
+void ObjectFile::add_depend(Target *tgt)
+{
+ Target::add_depend(tgt);
+ new_deps.push_back(tgt);
+}
+
+Action *ObjectFile::create_action()
+{
+ return new Compile(builder, *this);
+}
+