#
# Generated By: dol2asm
#

M447_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_firepillar.plf
M447_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_firepillar.lcf
M447_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_firepillar.map

M447_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_firepillar/unknown_translation_unit_bss.cpp \
	rel/d/a/obj/d_a_obj_firepillar/d_a_obj_firepillar.cpp \

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

M447_LIBS := \

M447_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M447_TARGET): $(M447_O_FILES) $(M447_LIBS)
	@echo [447] creating $(M447_TARGET)
	@echo $(M447_LIBS) $(M447_O_FILES) > build/M447_ofiles
	@python3 tools/lcf.py rel 447 --output $(M447_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M447_LDFLAGS) -o $(M447_TARGET) @build/M447_ofiles

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


