def METHOD_NAME(env, project=None):
    parts = [f"f{env['TARGET_HW']}"]
    if project:
        parts.append(project)
    suffix = ""
    if env["DEBUG"]:
        suffix += "D"
    if env["COMPACT"]:
        suffix += "C"
    if suffix:
        parts.append(suffix)
    return "-".join(parts)