#
# Generated By: dol2asm
#

M740_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_setrestart.plf
M740_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_setrestart.lcf
M740_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_setrestart.map

M740_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_setrestart/d_a_tag_setrestart.cpp \

M740_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_setrestart/d_a_tag_setrestart.o \

M740_LIBS := \

M740_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M740_TARGET): $(M740_O_FILES) $(M740_LIBS)
	@echo [740] creating $(M740_TARGET)
	@echo $(M740_LIBS) $(M740_O_FILES) > build/M740_ofiles
	@python3 tools/lcf.py rel 740 --output $(M740_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M740_LDFLAGS) -o $(M740_TARGET) @build/M740_ofiles

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


