#
# Generated By: dol2asm
#

M124_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_gstart.plf
M124_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_gstart.lcf
M124_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_gstart.map

M124_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_gstart/d_a_tag_gstart.cpp \

M124_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_gstart/d_a_tag_gstart.o \

M124_LIBS := \

M124_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M124_TARGET): $(M124_O_FILES) $(M124_LIBS)
	@echo [124] creating $(M124_TARGET)
	@echo $(M124_LIBS) $(M124_O_FILES) > build/M124_ofiles
	@python3 tools/lcf.py rel 124 --output $(M124_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M124_LDFLAGS) -o $(M124_TARGET) @build/M124_ofiles

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


