#
# Generated By: dol2asm
#

M736_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_river_back.plf
M736_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_river_back.lcf
M736_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_river_back.map

M736_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_river_back/d_a_tag_river_back.cpp \

M736_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_river_back/d_a_tag_river_back.o \

M736_LIBS := \

M736_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M736_TARGET): $(M736_O_FILES) $(M736_LIBS)
	@echo [736] creating $(M736_TARGET)
	@echo $(M736_LIBS) $(M736_O_FILES) > build/M736_ofiles
	@python3 tools/lcf.py rel 736 --output $(M736_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M736_LDFLAGS) -o $(M736_TARGET) @build/M736_ofiles

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


