#
# Generated By: dol2asm
#

M111_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_sWallShutter.plf
M111_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_sWallShutter.lcf
M111_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_sWallShutter.map

M111_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/obj/d_a_obj_sWallShutter/d_a_obj_sWallShutter.cpp \

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

M111_LIBS := \

M111_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M111_TARGET): $(M111_O_FILES) $(M111_LIBS)
	@echo [111] creating $(M111_TARGET)
	@echo $(M111_LIBS) $(M111_O_FILES) > build/M111_ofiles
	@python3 tools/lcf.py rel 111 --output $(M111_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M111_LDFLAGS) -o $(M111_TARGET) @build/M111_ofiles

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


