3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef VIRTUALTARGET_H_
9 #define VIRTUALTARGET_H_
14 A target that is not associated with any file.
16 class VirtualTarget: public Target
19 VirtualTarget(Builder &b, const std::string &n): Target(b, 0, n) { }
20 const char *get_type() const { return "VirtualTarget"; }
21 Action *build() { rebuild=false; return 0; }
22 unsigned count_rebuild();