#
# Generated By: dol2asm
#

M269_TARGET := $(BUILD_DIR)/rel/d/a/kytag/d_a_kytag06.plf
M269_LDSCRIPT := $(BUILD_DIR)/rel/d/a/kytag/d_a_kytag06.lcf
M269_MAP := $(BUILD_DIR)/rel/d/a/kytag/d_a_kytag06.map

M269_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/kytag/d_a_kytag06/d_a_kytag06.cpp \

M269_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/kytag/d_a_kytag06/d_a_kytag06.o \

M269_LIBS := \

M269_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M269_TARGET): $(M269_O_FILES) $(M269_LIBS)
	@echo [269] creating $(M269_TARGET)
	@echo $(M269_LIBS) $(M269_O_FILES) > build/M269_ofiles
	@python3 tools/lcf.py rel 269 --output $(M269_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M269_LDFLAGS) -o $(M269_TARGET) @build/M269_ofiles

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


