#
# Generated By: dol2asm
#

M494_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_kantera.plf
M494_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_kantera.lcf
M494_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_kantera.map

M494_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_kantera/unknown_translation_unit_bss.cpp \
	rel/d/a/obj/d_a_obj_kantera/d_a_obj_kantera.cpp \

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

M494_LIBS := \

M494_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M494_TARGET): $(M494_O_FILES) $(M494_LIBS)
	@echo [494] creating $(M494_TARGET)
	@echo $(M494_LIBS) $(M494_O_FILES) > build/M494_ofiles
	@python3 tools/lcf.py rel 494 --output $(M494_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M494_LDFLAGS) -o $(M494_TARGET) @build/M494_ofiles

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


