#
# Generated By: dol2asm
#

M411_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_bmshutter.plf
M411_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_bmshutter.lcf
M411_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_bmshutter.map

M411_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_bmshutter/unknown_translation_unit_bss.cpp \
	rel/d/a/obj/d_a_obj_bmshutter/d_a_obj_bmshutter.cpp \

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

M411_LIBS := \

M411_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M411_TARGET): $(M411_O_FILES) $(M411_LIBS)
	@echo [411] creating $(M411_TARGET)
	@echo $(M411_LIBS) $(M411_O_FILES) > build/M411_ofiles
	@python3 tools/lcf.py rel 411 --output $(M411_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M411_LDFLAGS) -o $(M411_TARGET) @build/M411_ofiles

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


