/** Adds a dependency for the target. Order is preseved and is important
for some target types. It is an error to create dependency cycles, although
this won't be detected until the targets are prepared. */
- void add_depend(Target *);
+ void add_depend(Target &);
/// Returns the dependencies of the target, in the order they were added.
const Dependencies &get_depends() const { return depends; }