#
# Generated By: dol2asm
#

M75_TARGET := $(BUILD_DIR)/rel/d/a/kytag/d_a_kytag10.plf
M75_LDSCRIPT := $(BUILD_DIR)/rel/d/a/kytag/d_a_kytag10.lcf
M75_MAP := $(BUILD_DIR)/rel/d/a/kytag/d_a_kytag10.map

M75_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/kytag/d_a_kytag10/d_a_kytag10.cpp \

M75_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/kytag/d_a_kytag10/d_a_kytag10.o \

M75_LIBS := \

M75_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M75_TARGET): $(M75_O_FILES) $(M75_LIBS)
	@echo [ 75] creating $(M75_TARGET)
	@echo $(M75_LIBS) $(M75_O_FILES) > build/M75_ofiles
	@python3 tools/lcf.py rel 75 --output $(M75_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M75_LDFLAGS) -o $(M75_TARGET) @build/M75_ofiles

$(BUILD_DIR)/rel/d/a/kytag/d_a_kytag10/%.o: rel/d/a/kytag/d_a_kytag10/%.cpp $(BUILD_DIR)/rel/d/a/kytag/d_a_kytag10/%.d
	@echo [ 75] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M75_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
M75_D_FILES := $(M75_O_FILES:.o=.d)
$(M75_D_FILES):
include $(wildcard $(M75_D_FILES))
endif


