#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<ObjectFile *> &);
- 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