X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.cpp;h=f2a1a1372e482489a24a1ce5bbf9de38dae011b6;hb=463a3521e27870294455373f9c69279069611975;hp=bfb78672afb08e4e787236452b831b060a78632e;hpb=0458300fda4f345f865a7f3ee4fc0f2020a91983;p=builder.git diff --git a/source/target.cpp b/source/target.cpp index bfb7867..f2a1a13 100644 --- a/source/target.cpp +++ b/source/target.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include #include #include "action.h" @@ -26,7 +19,9 @@ Target::Target(Builder &b, const Package *p, const string &n): deps_ready(false), preparing(false), prepared(false) -{ } +{ + builder.add_target(this); +} Target *Target::get_buildable_target() {