#
# Generated By: dol2asm
#

M439_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_drop.plf
M439_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_drop.lcf
M439_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_drop.map

M439_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_drop/unknown_translation_unit_bss.cpp \
	rel/d/a/obj/d_a_obj_drop/d_a_obj_drop.cpp \

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

M439_LIBS := \

M439_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M439_TARGET): $(M439_O_FILES) $(M439_LIBS)
	@echo [439] creating $(M439_TARGET)
	@echo $(M439_LIBS) $(M439_O_FILES) > build/M439_ofiles
	@python3 tools/lcf.py rel 439 --output $(M439_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M439_LDFLAGS) -o $(M439_TARGET) @build/M439_ofiles

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


