#
# Generated By: dol2asm
#

M533_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4digsand.plf
M533_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4digsand.lcf
M533_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4digsand.map

M533_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_lv4digsand/unknown_translation_unit_bss.cpp \
	rel/d/a/obj/d_a_obj_lv4digsand/d_a_obj_lv4digsand.cpp \

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

M533_LIBS := \

M533_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M533_TARGET): $(M533_O_FILES) $(M533_LIBS)
	@echo [533] creating $(M533_TARGET)
	@echo $(M533_LIBS) $(M533_O_FILES) > build/M533_ofiles
	@python3 tools/lcf.py rel 533 --output $(M533_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M533_LDFLAGS) -o $(M533_TARGET) @build/M533_ofiles

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


