X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexecutable.h;h=0dc4fc5223b0f671af15901397af594a63dc6679;hb=0458300fda4f345f865a7f3ee4fc0f2020a91983;hp=7fefef7a469326246b706b0f5f72d4a7282f3add;hpb=1a46151c99a406123c4ddfc797a7841baf3e4cc2;p=builder.git diff --git a/source/executable.h b/source/executable.h index 7fefef7..0dc4fc5 100644 --- a/source/executable.h +++ b/source/executable.h @@ -1,23 +1,20 @@ +/* $Id$ + +This file is part of builder +Copyright © 2009 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef EXECUTABLE_H_ #define EXECUTABLE_H_ -#include "target.h" +#include "binary.h" -class Component; -class ObjectFile; - -class Executable: public Target +class Executable: public Binary { public: Executable(Builder &, const Component &, const std::list &); - const char *get_type() const { return "Executable"; } - const Component &get_component() const { return comp; } - void find_depends(); - Action *build(); -private: - const Component ∁ - - static std::string generate_target_name(const Component &); + virtual const char *get_type() const { return "Executable"; } }; #endif