#
# Generated By: dol2asm
#

M237_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_th_ball.plf
M237_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_th_ball.lcf
M237_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_th_ball.map

M237_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/e/d_a_e_th_ball/d_a_e_th_ball.cpp \

M237_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/e/d_a_e_th_ball/d_a_e_th_ball.o \

M237_LIBS := \

M237_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M237_TARGET): $(M237_O_FILES) $(M237_LIBS)
	@echo [237] creating $(M237_TARGET)
	@echo $(M237_LIBS) $(M237_O_FILES) > build/M237_ofiles
	@python3 tools/lcf.py rel 237 --output $(M237_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M237_LDFLAGS) -o $(M237_TARGET) @build/M237_ofiles

$(BUILD_DIR)/rel/d/a/e/d_a_e_th_ball/%.o: rel/d/a/e/d_a_e_th_ball/%.cpp $(BUILD_DIR)/rel/d/a/e/d_a_e_th_ball/%.d
	@echo [237] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M237_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
M237_D_FILES := $(M237_O_FILES:.o=.d)
$(M237_D_FILES):
include $(wildcard $(M237_D_FILES))
endif


