]> git.tdb.fi Git - builder.git/blob - source/executable.h
52b0ceedd2cf4adb62d78df66b2c18e920bc0c16
[builder.git] / source / executable.h
1 #ifndef EXECUTABLE_H_
2 #define EXECUTABLE_H_
3
4 #include "target.h"
5
6 class Component;
7 class ObjectFile;
8
9 class Executable: public Target
10 {
11 public:
12         Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
13         const char *get_type() const { return "Executable"; }
14         void find_depends() { }
15         Action *build();
16 private:
17         const Component &comp;
18
19         static std::string generate_target_name(const Component &);
20 };
21
22 #endif