#
# Generated By: dol2asm
#

M724_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_kago_fall.plf
M724_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_kago_fall.lcf
M724_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_kago_fall.map

M724_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_kago_fall/d_a_tag_kago_fall.cpp \

M724_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_kago_fall/d_a_tag_kago_fall.o \

M724_LIBS := \

M724_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M724_TARGET): $(M724_O_FILES) $(M724_LIBS)
	@echo [724] creating $(M724_TARGET)
	@echo $(M724_LIBS) $(M724_O_FILES) > build/M724_ofiles
	@python3 tools/lcf.py rel 724 --output $(M724_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M724_LDFLAGS) -o $(M724_TARGET) @build/M724_ofiles

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


