#
# Generated By: dol2asm
#

M525_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4EdShutter.plf
M525_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4EdShutter.lcf
M525_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4EdShutter.map

M525_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/obj/d_a_obj_lv4EdShutter/d_a_obj_lv4EdShutter.cpp \

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

M525_LIBS := \

M525_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M525_TARGET): $(M525_O_FILES) $(M525_LIBS)
	@echo [525] creating $(M525_TARGET)
	@echo $(M525_LIBS) $(M525_O_FILES) > build/M525_ofiles
	@python3 tools/lcf.py rel 525 --output $(M525_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M525_LDFLAGS) -o $(M525_TARGET) @build/M525_ofiles

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


