#
# Generated By: dol2asm
#

M532_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4chandelier.plf
M532_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4chandelier.lcf
M532_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4chandelier.map

M532_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_lv4chandelier/d_a_obj_lv4chandelier.cpp \

M532_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_lv4chandelier/d_a_obj_lv4chandelier.o \

M532_LIBS := \

M532_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M532_TARGET): $(M532_O_FILES) $(M532_LIBS)
	@echo [532] creating $(M532_TARGET)
	@echo $(M532_LIBS) $(M532_O_FILES) > build/M532_ofiles
	@python3 tools/lcf.py rel 532 --output $(M532_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M532_LDFLAGS) -o $(M532_TARGET) @build/M532_ofiles

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


