]> git.tdb.fi Git - builder.git/blob - source/sourcefile.h
af25fe9253428924968f85654746a1ac31edc219
[builder.git] / source / sourcefile.h
1 #ifndef SOURCEFILE_H_
2 #define SOURCEFILE_H_
3
4 #include "target.h"
5
6 class Component;
7
8 class SourceFile: public Target
9 {
10 public:
11         SourceFile(Builder &, const Component *, const std::string &);
12         const char *get_type() const { return "SourceFile"; }
13         void find_depends();
14         Action *build() { rebuild=false; return 0; }
15 private:
16         const Component *comp;
17         std::list<std::string> includes;
18
19         void check_rebuild();
20 };
21
22 #endif