Isn't this exactly what tools like SCons and Bazel are supposed to do? Rather than writing your own
Bazel is definitely superior if you can switch to it. If the rest of the teams are using their myriad different tools then it takes time and resources to migrate to Bazel.