#
# Generated By: dol2asm
#

M131_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_mstop.plf
M131_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_mstop.lcf
M131_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_mstop.map

M131_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_mstop/d_a_tag_mstop.cpp \

M131_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_mstop/d_a_tag_mstop.o \

M131_LIBS := \

M131_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M131_TARGET): $(M131_O_FILES) $(M131_LIBS)
	@echo [131] creating $(M131_TARGET)
	@echo $(M131_LIBS) $(M131_O_FILES) > build/M131_ofiles
	@python3 tools/lcf.py rel 131 --output $(M131_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M131_LDFLAGS) -o $(M131_TARGET) @build/M131_ofiles

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


