#
# Generated By: dol2asm
#

M730_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_myna2.plf
M730_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_myna2.lcf
M730_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_myna2.map

M730_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_myna2/d_a_tag_myna2.cpp \

M730_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_myna2/d_a_tag_myna2.o \

M730_LIBS := \

M730_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M730_TARGET): $(M730_O_FILES) $(M730_LIBS)
	@echo [730] creating $(M730_TARGET)
	@echo $(M730_LIBS) $(M730_O_FILES) > build/M730_ofiles
	@python3 tools/lcf.py rel 730 --output $(M730_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M730_LDFLAGS) -o $(M730_TARGET) @build/M730_ofiles

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


