#
# Generated By: dol2asm
#

M753_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_yami.plf
M753_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_yami.lcf
M753_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_yami.map

M753_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_yami/d_a_tag_yami.cpp \

M753_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_yami/d_a_tag_yami.o \

M753_LIBS := \

M753_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \
	-sym on \

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

$(M753_TARGET): $(M753_O_FILES) $(M753_LIBS)
	@echo [753] creating $(M753_TARGET)
	@echo $(M753_LIBS) $(M753_O_FILES) > build/M753_ofiles
	@python3 tools/lcf.py rel 753 --output $(M753_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M753_LDFLAGS) -o $(M753_TARGET) @build/M753_ofiles

$(BUILD_DIR)/rel/d/a/tag/d_a_tag_yami/%.o: rel/d/a/tag/d_a_tag_yami/%.cpp $(BUILD_DIR)/rel/d/a/tag/d_a_tag_yami/%.d
	@echo [753] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M753_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
M753_D_FILES := $(M753_O_FILES:.o=.d)
$(M753_D_FILES):
include $(wildcard $(M753_D_FILES))
endif


