#
# Generated By: dol2asm
#

M450_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag2.plf
M450_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag2.lcf
M450_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag2.map

M450_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_flag2/d_a_obj_flag2.cpp \

M450_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag2/d_a_obj_flag2.o \

M450_LIBS := \

M450_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M450_TARGET): $(M450_O_FILES) $(M450_LIBS)
	@echo [450] creating $(M450_TARGET)
	@echo $(M450_LIBS) $(M450_O_FILES) > build/M450_ofiles
	@python3 tools/lcf.py rel 450 --output $(M450_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M450_LDFLAGS) -o $(M450_TARGET) @build/M450_ofiles

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


