#
# Generated By: dol2asm
#

M678_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_warp_obrg.plf
M678_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_warp_obrg.lcf
M678_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_warp_obrg.map

M678_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_warp_obrg/unknown_translation_unit_bss.cpp \
	rel/d/a/obj/d_a_obj_warp_obrg/d_a_obj_warp_obrg.cpp \

M678_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_warp_obrg/unknown_translation_unit_bss.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_warp_obrg/d_a_obj_warp_obrg.o \

M678_LIBS := \

M678_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M678_TARGET): $(M678_O_FILES) $(M678_LIBS)
	@echo [678] creating $(M678_TARGET)
	@echo $(M678_LIBS) $(M678_O_FILES) > build/M678_ofiles
	@python3 tools/lcf.py rel 678 --output $(M678_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M678_LDFLAGS) -o $(M678_TARGET) @build/M678_ofiles

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


