#
# Generated By: dol2asm
#

M455_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_ganonwall.plf
M455_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_ganonwall.lcf
M455_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_ganonwall.map

M455_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_ganonwall/d_a_obj_ganonwall.cpp \

M455_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_ganonwall/d_a_obj_ganonwall.o \

M455_LIBS := \

M455_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

M455_LDFLAGS := \
	-nodefaults \
	-fp hard \
	-proc gekko \
	-linkmode moreram \
	-sdata 0 \
	-sdata2 0 \
	-m _prolog \
	-lcf $(M455_LDSCRIPT) \
	-unused -map $(M455_MAP) \
	-w off \

$(M455_TARGET): $(M455_O_FILES) $(M455_LIBS)
	@echo [455] creating $(M455_TARGET)
	@echo $(M455_LIBS) $(M455_O_FILES) > build/M455_ofiles
	@python3 tools/lcf.py rel 455 --output $(M455_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M455_LDFLAGS) -o $(M455_TARGET) @build/M455_ofiles

$(BUILD_DIR)/rel/d/a/obj/d_a_obj_ganonwall/%.o: rel/d/a/obj/d_a_obj_ganonwall/%.cpp $(BUILD_DIR)/rel/d/a/obj/d_a_obj_ganonwall/%.d
	@echo [455] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M455_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).cpp
	@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi

ifndef DISABLE_DEPS
M455_D_FILES := $(M455_O_FILES:.o=.d)
$(M455_D_FILES):
include $(wildcard $(M455_D_FILES))
endif


