def path_to_object_path(path: Path) -> Path: path = clean_up_path(path) if options.use_o_as_suffix(): full_suffix = ".o" else: full_suffix = path.suffix + ".o" return clean_up_path(options.get_build_path() / path.with_suffix(full_suffix))
def path_to_object_path(path: Path) -> Path: path = clean_up_path(path) return options.get_build_path() / path.with_suffix(path.suffix + ".o")
def path_to_object_path(path: Path) -> Path: path = options.get_build_path() / path.with_suffix( path.suffix + ".o").relative_to(options.get_base_path()) return clean_up_path(path)
def effect_path(self, effect): return options.get_build_path() / "asm" / "effects" / f"{effect}.s"
def shim_path(self, shim): return options.get_build_path() / "asm" / "effect_shims" / f"{shim}.s"