#
# Generated By: dol2asm
#

M425_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_crope.plf
M425_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_crope.lcf
M425_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_crope.map

M425_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_crope/d_a_obj_crope.cpp \

M425_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_crope/d_a_obj_crope.o \

M425_LIBS := \

M425_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M425_TARGET): $(M425_O_FILES) $(M425_LIBS)
	@echo [425] creating $(M425_TARGET)
	@echo $(M425_LIBS) $(M425_O_FILES) > build/M425_ofiles
	@python3 tools/lcf.py rel 425 --output $(M425_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M425_LDFLAGS) -o $(M425_TARGET) @build/M425_ofiles

$(BUILD_DIR)/rel/d/a/obj/d_a_obj_crope/%.o: rel/d/a/obj/d_a_obj_crope/%.cpp $(BUILD_DIR)/rel/d/a/obj/d_a_obj_crope/%.d
	@echo [425] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M425_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
M425_D_FILES := $(M425_O_FILES:.o=.d)
$(M425_D_FILES):
include $(wildcard $(M425_D_FILES))
endif


