#
# Generated By: dol2asm
#

M445_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_fireWood.plf
M445_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_fireWood.lcf
M445_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_fireWood.map

M445_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/obj/d_a_obj_fireWood/d_a_obj_fireWood.cpp \

M445_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_fireWood/d_a_obj_fireWood.o \

M445_LIBS := \

M445_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M445_TARGET): $(M445_O_FILES) $(M445_LIBS)
	@echo [445] creating $(M445_TARGET)
	@echo $(M445_LIBS) $(M445_O_FILES) > build/M445_ofiles
	@python3 tools/lcf.py rel 445 --output $(M445_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M445_LDFLAGS) -o $(M445_TARGET) @build/M445_ofiles

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


