#
# Generated By: dol2asm
#

M717_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_chgrestart.plf
M717_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_chgrestart.lcf
M717_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_chgrestart.map

M717_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_chgrestart/d_a_tag_chgrestart.cpp \

M717_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_chgrestart/d_a_tag_chgrestart.o \

M717_LIBS := \

M717_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M717_TARGET): $(M717_O_FILES) $(M717_LIBS)
	@echo [717] creating $(M717_TARGET)
	@echo $(M717_LIBS) $(M717_O_FILES) > build/M717_ofiles
	@python3 tools/lcf.py rel 717 --output $(M717_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M717_LDFLAGS) -o $(M717_TARGET) @build/M717_ofiles

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


