X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.cpp;h=a2c61bf1f24ffa9cd48f4add29e0501c64f47343;hb=f75a99316e896cf1e424a489ce360a67844d86b0;hp=5556cb346e7c1efeeee808aa275818545f185518;hpb=dceec8d95c63aaf4d8d4b367c9846caf9e32a6bf;p=builder.git diff --git a/source/tool.cpp b/source/tool.cpp index 5556cb3..a2c61bf 100644 --- a/source/tool.cpp +++ b/source/tool.cpp @@ -5,7 +5,8 @@ using namespace std; Tool::Tool(Builder &b, const string &t): builder(b), - tag(t) + tag(t), + executable(0) { } bool Tool::accepts_suffix(const string &suffix, bool aux) const @@ -24,3 +25,9 @@ Target *Tool::create_target(Target &source, const string &arg) const sources.push_back(&source); return create_target(sources, arg); } + + +SubTool::SubTool(Tool &p): + Tool(p), + parent(p) +{ }