X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexecutable.h;h=967aaf97c7ec0c8044eaf0c48965122029732eb5;hb=8543062496cb35d73014d0a9877cbe5553aa30a4;hp=3e34851e4abef92fa2ceb8a04068e4741a03b870;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/executable.h b/source/executable.h index 3e34851..967aaf9 100644 --- a/source/executable.h +++ b/source/executable.h @@ -1,21 +1,18 @@ #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 Msp::FS::Path &); Executable(Builder &, const Component &, const std::list &); - const char *get_type() const { return "Executable"; } - void find_depends() { } private: - const Component ∁ + static std::string generate_filename(const Component &); - static std::string generate_target_name(const Component &); +public: + virtual const char *get_type() const { return "Executable"; } }; #endif