#
# Generated By: dol2asm
#

M691_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_statue.plf
M691_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_statue.lcf
M691_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_statue.map

M691_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_wood_statue/unknown_translation_unit_bss.cpp \
	rel/d/a/obj/d_a_obj_wood_statue/d_a_obj_wood_statue.cpp \

M691_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_statue/unknown_translation_unit_bss.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_statue/d_a_obj_wood_statue.o \

M691_LIBS := \

M691_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M691_TARGET): $(M691_O_FILES) $(M691_LIBS)
	@echo [691] creating $(M691_TARGET)
	@echo $(M691_LIBS) $(M691_O_FILES) > build/M691_ofiles
	@python3 tools/lcf.py rel 691 --output $(M691_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M691_LDFLAGS) -o $(M691_TARGET) @build/M691_ofiles

$(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_statue/%.o: rel/d/a/obj/d_a_obj_wood_statue/%.cpp $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_statue/%.d
	@echo [691] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M691_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
M691_D_FILES := $(M691_O_FILES:.o=.d)
$(M691_D_FILES):
include $(wildcard $(M691_D_FILES))
endif


