#
# Generated By: dol2asm
#

M344_TARGET := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_pachi_taro.plf
M344_LDSCRIPT := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_pachi_taro.lcf
M344_MAP := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_pachi_taro.map

M344_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/npc/d_a_npc_pachi_taro/d_a_npc_pachi_taro.cpp \

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

M344_LIBS := \

M344_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M344_TARGET): $(M344_O_FILES) $(M344_LIBS)
	@echo [344] creating $(M344_TARGET)
	@echo $(M344_LIBS) $(M344_O_FILES) > build/M344_ofiles
	@python3 tools/lcf.py rel 344 --output $(M344_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M344_LDFLAGS) -o $(M344_TARGET) @build/M344_ofiles

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


