X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.cpp;h=f33e141edbb40758b1c363f3de42c41fb4d833cf;hb=b5ad62c2c4c7eeadd881e3f157bde96e4dd2cc0e;hp=3b1685324997fcfebce2273d828e39a0a83ea37a;hpb=921fc49488a68442fb8794e1a0284a3bf1e7b91b;p=builder.git diff --git a/source/target.cpp b/source/target.cpp index 3b16853..f33e141 100644 --- a/source/target.cpp +++ b/source/target.cpp @@ -95,6 +95,8 @@ Target::Target(Builder &b, const Package *p, const string &n): prepared(false), counted(false) { + builder.add_target(this); + struct stat st; if(!Path::stat(name, st)) mtime=Time::TimeStamp::from_unixtime(st.st_mtime);