diff options
Diffstat (limited to 'build/b.cxx')
-rw-r--r-- | build/b.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/b.cxx b/build/b.cxx index e53844c..3fe9d20 100644 --- a/build/b.cxx +++ b/build/b.cxx @@ -139,8 +139,9 @@ main (int argc, char* argv[]) target_types.insert (dir::static_type); target_types.insert (fsdir::static_type); - target_types.insert (exe::static_type); target_types.insert (obj::static_type); + target_types.insert (exe::static_type); + target_types.insert (lib::static_type); target_types.insert (cxx::h::static_type); target_types.insert (cxx::c::static_type); @@ -157,6 +158,10 @@ main (int argc, char* argv[]) rules[update_id][typeid (exe)].emplace ("cxx.gnu.link", cxx_link); rules[clean_id][typeid (exe)].emplace ("cxx.gnu.link", cxx_link); + rules[default_id][typeid (lib)].emplace ("cxx.gnu.link", cxx_link); + rules[update_id][typeid (lib)].emplace ("cxx.gnu.link", cxx_link); + rules[clean_id][typeid (lib)].emplace ("cxx.gnu.link", cxx_link); + cxx::compile cxx_compile; rules[default_id][typeid (obj)].emplace ("cxx.gnu.compile", cxx_compile); rules[update_id][typeid (obj)].emplace ("cxx.gnu.compile", cxx_compile); |