#
# Generated By: dol2asm
#

M511_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_laundry.plf
M511_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_laundry.lcf
M511_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_laundry.map

M511_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_laundry/d_a_obj_laundry.cpp \

M511_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_laundry/d_a_obj_laundry.o \

M511_LIBS := \

M511_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M511_TARGET): $(M511_O_FILES) $(M511_LIBS)
	@echo [511] creating $(M511_TARGET)
	@echo $(M511_LIBS) $(M511_O_FILES) > build/M511_ofiles
	@python3 tools/lcf.py rel 511 --output $(M511_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M511_LDFLAGS) -o $(M511_TARGET) @build/M511_ofiles

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


