#
# Generated By: dol2asm
#

M369_TARGET := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_theB.plf
M369_LDSCRIPT := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_theB.lcf
M369_MAP := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_theB.map

M369_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/npc/d_a_npc_theB/d_a_npc_theB.cpp \

M369_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/npc/d_a_npc_theB/d_a_npc_theB.o \

M369_LIBS := \

M369_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M369_TARGET): $(M369_O_FILES) $(M369_LIBS)
	@echo [369] creating $(M369_TARGET)
	@echo $(M369_LIBS) $(M369_O_FILES) > build/M369_ofiles
	@python3 tools/lcf.py rel 369 --output $(M369_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M369_LDFLAGS) -o $(M369_TARGET) @build/M369_ofiles

$(BUILD_DIR)/rel/d/a/npc/d_a_npc_theB/%.o: rel/d/a/npc/d_a_npc_theB/%.cpp $(BUILD_DIR)/rel/d/a/npc/d_a_npc_theB/%.d
	@echo [369] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M369_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
M369_D_FILES := $(M369_O_FILES:.o=.d)
$(M369_D_FILES):
include $(wildcard $(M369_D_FILES))
endif


