X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjectfile.h;h=dbb49fe02c8355d3f43f9eaa24f3ce0016a25851;hb=refs%2Ftags%2F0.9;hp=42238e14b546db0c356b3be02b9d3da6a052f4ae;hpb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;p=builder.git diff --git a/source/objectfile.h b/source/objectfile.h index 42238e1..dbb49fe 100644 --- a/source/objectfile.h +++ b/source/objectfile.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef OBJECTFILE_H_ #define OBJECTFILE_H_ @@ -16,13 +23,13 @@ public: const char *get_type() const { return "ObjectFile"; } const Component &get_component() const { return comp; } void find_depends(); - Action *build(); private: const Component ∁ TargetList new_deps; void find_depends(Target *); void add_depend(Target *); + virtual Action *create_action(); static std::string generate_target_name(const Component &, const std::string &); };