#
# Generated By: dol2asm
#

M711_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_Lv7Gate.plf
M711_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_Lv7Gate.lcf
M711_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_Lv7Gate.map

M711_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_Lv7Gate/d_a_tag_Lv7Gate.cpp \

M711_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_Lv7Gate/d_a_tag_Lv7Gate.o \

M711_LIBS := \

M711_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M711_TARGET): $(M711_O_FILES) $(M711_LIBS)
	@echo [711] creating $(M711_TARGET)
	@echo $(M711_LIBS) $(M711_O_FILES) > build/M711_ofiles
	@python3 tools/lcf.py rel 711 --output $(M711_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M711_LDFLAGS) -o $(M711_TARGET) @build/M711_ofiles

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


