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