emit log/deps file into build directory to match parity of ninja tool