]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.h
Builder can build itself now.
[builder.git] / source / sourcefile.h
index 962c575558f8eb04bb79503d946391a302def8f6..af25fe9253428924968f85654746a1ac31edc219 100644 (file)
@@ -9,11 +9,14 @@ class SourceFile: public Target
 {
 public:
        SourceFile(Builder &, const Component *, const std::string &);
-       void find_depends();
        const char *get_type() const { return "SourceFile"; }
+       void find_depends();
+       Action *build() { rebuild=false; return 0; }
 private:
        const Component *comp;
        std::list<std::string> includes;
+
+       void check_rebuild();
 };
 
 #endif