#
# Generated By: dol2asm
#

M225_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_rdy.plf
M225_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_rdy.lcf
M225_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_rdy.map

M225_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/e/d_a_e_rdy/d_a_e_rdy.cpp \

M225_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/e/d_a_e_rdy/d_a_e_rdy.o \

M225_LIBS := \

M225_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M225_TARGET): $(M225_O_FILES) $(M225_LIBS)
	@echo [225] creating $(M225_TARGET)
	@echo $(M225_LIBS) $(M225_O_FILES) > build/M225_ofiles
	@python3 tools/lcf.py rel 225 --output $(M225_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M225_LDFLAGS) -o $(M225_TARGET) @build/M225_ofiles

$(BUILD_DIR)/rel/d/a/e/d_a_e_rdy/%.o: rel/d/a/e/d_a_e_rdy/%.cpp $(BUILD_DIR)/rel/d/a/e/d_a_e_rdy/%.d
	@echo [225] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M225_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
M225_D_FILES := $(M225_O_FILES:.o=.d)
$(M225_D_FILES):
include $(wildcard $(M225_D_FILES))
endif


