X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvirtualtarget.h;h=8f3d95b0c0b540d16ab0b5dafc21db7235de98ef;hb=HEAD;hp=65967f2bc5d2a603fc434983f5428b36dcd5bbb8;hpb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;p=builder.git diff --git a/source/virtualtarget.h b/source/virtualtarget.h deleted file mode 100644 index 65967f2..0000000 --- a/source/virtualtarget.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef VIRTUALTARGET_H_ -#define VIRTUALTARGET_H_ - -#include "target.h" - -/** -A target that is not associated with any file. -*/ -class VirtualTarget: public Target -{ -public: - VirtualTarget(Builder &b, const std::string &n): Target(b, 0, n) { } - const char *get_type() const { return "VirtualTarget"; } - Action *build() { rebuild=false; return 0; } - unsigned count_rebuild(); -private: - void check_rebuild(); -}; - -#endif