aboutsummaryrefslogtreecommitdiff
path: root/build/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/target.cxx')
-rw-r--r--build/target.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/target.cxx b/build/target.cxx
index 4dffe7f..61423db 100644
--- a/build/target.cxx
+++ b/build/target.cxx
@@ -27,7 +27,12 @@ namespace build
os << s << path::traits::directory_separator;
}
- os << t.name << '}';
+ os << t.name;
+
+ if (t.ext != nullptr)
+ os << '.' << *t.ext;
+
+ os << '}';
return os;
}