#
# Generated By: dol2asm
#

M693_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_yel_bag.plf
M693_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_yel_bag.lcf
M693_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_yel_bag.map

M693_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/obj/d_a_obj_yel_bag/d_a_obj_yel_bag.cpp \

M693_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_yel_bag/d_a_obj_yel_bag.o \

M693_LIBS := \

M693_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M693_TARGET): $(M693_O_FILES) $(M693_LIBS)
	@echo [693] creating $(M693_TARGET)
	@echo $(M693_LIBS) $(M693_O_FILES) > build/M693_ofiles
	@python3 tools/lcf.py rel 693 --output $(M693_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M693_LDFLAGS) -o $(M693_TARGET) @build/M693_ofiles

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


