#
# Generated By: dol2asm
#

M735_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_ret_room.plf
M735_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_ret_room.lcf
M735_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_ret_room.map

M735_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_ret_room/d_a_tag_ret_room.cpp \

M735_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_ret_room/d_a_tag_ret_room.o \

M735_LIBS := \

M735_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M735_TARGET): $(M735_O_FILES) $(M735_LIBS)
	@echo [735] creating $(M735_TARGET)
	@echo $(M735_LIBS) $(M735_O_FILES) > build/M735_ofiles
	@python3 tools/lcf.py rel 735 --output $(M735_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M735_LDFLAGS) -o $(M735_TARGET) @build/M735_ofiles

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


