#
# Generated By: dol2asm
#

M563_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv8UdFloor.plf
M563_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv8UdFloor.lcf
M563_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv8UdFloor.map

M563_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/obj/d_a_obj_lv8UdFloor/d_a_obj_lv8UdFloor.cpp \

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

M563_LIBS := \

M563_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M563_TARGET): $(M563_O_FILES) $(M563_LIBS)
	@echo [563] creating $(M563_TARGET)
	@echo $(M563_LIBS) $(M563_O_FILES) > build/M563_ofiles
	@python3 tools/lcf.py rel 563 --output $(M563_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M563_LDFLAGS) -o $(M563_TARGET) @build/M563_ofiles

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


