#
# Generated By: dol2asm
#

M707_TARGET := $(BUILD_DIR)/rel/d/a/d_a_swBall.plf
M707_LDSCRIPT := $(BUILD_DIR)/rel/d/a/d_a_swBall.lcf
M707_MAP := $(BUILD_DIR)/rel/d/a/d_a_swBall.map

M707_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/d_a_swBall/d_a_swBall.cpp \

M707_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/d_a_swBall/d_a_swBall.o \

M707_LIBS := \

M707_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M707_TARGET): $(M707_O_FILES) $(M707_LIBS)
	@echo [707] creating $(M707_TARGET)
	@echo $(M707_LIBS) $(M707_O_FILES) > build/M707_ofiles
	@python3 tools/lcf.py rel 707 --output $(M707_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M707_LDFLAGS) -o $(M707_TARGET) @build/M707_ofiles

$(BUILD_DIR)/rel/d/a/d_a_swBall/%.o: rel/d/a/d_a_swBall/%.cpp $(BUILD_DIR)/rel/d/a/d_a_swBall/%.d
	@echo [707] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M707_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
M707_D_FILES := $(M707_O_FILES:.o=.d)
$(M707_D_FILES):
include $(wildcard $(M707_D_FILES))
endif


