#
# Generated By: dol2asm
#

M675_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_volcball.plf
M675_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_volcball.lcf
M675_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_volcball.map

M675_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_volcball/d_a_obj_volcball.cpp \

M675_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_volcball/d_a_obj_volcball.o \

M675_LIBS := \

M675_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M675_TARGET): $(M675_O_FILES) $(M675_LIBS)
	@echo [675] creating $(M675_TARGET)
	@echo $(M675_LIBS) $(M675_O_FILES) > build/M675_ofiles
	@python3 tools/lcf.py rel 675 --output $(M675_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M675_LDFLAGS) -o $(M675_TARGET) @build/M675_ofiles

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


