X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.h;h=af25fe9253428924968f85654746a1ac31edc219;hb=59ac0a44d6edf179c01604c6ced744873213f855;hp=962c575558f8eb04bb79503d946391a302def8f6;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/sourcefile.h b/source/sourcefile.h index 962c575..af25fe9 100644 --- a/source/sourcefile.h +++ b/source/sourcefile.h @@ -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 includes; + + void check_rebuild(); }; #endif