def METHOD_NAME(
    self,
    name,
    srcs,
    deps=None,
    extra_preprocessor_flags=None,
    extra_bench_libs=False,
):
    with open(self.path, "ab") as targets_file:
        targets_file.write(
            targets_cfg.binary_template.format(
                name=name,
                srcs=pretty_list(srcs),
                deps=pretty_list(deps),
                extra_preprocessor_flags=pretty_list(extra_preprocessor_flags),
                extra_bench_libs=extra_bench_libs,
            ).encode("utf-8")
        )
    self.total_bin = self.total_bin + 1