]> git.tdb.fi Git - builder.git/blobdiff - source/tool.cpp
Store a target representing the executable in each tool
[builder.git] / source / tool.cpp
index 1ab3660474cf57de3a31bcf47df6231370beff5e..a2c61bf1f24ffa9cd48f4add29e0501c64f47343 100644 (file)
@@ -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