#
# Generated By: dol2asm
#

M363_TARGET := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_shop_maro.plf
M363_LDSCRIPT := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_shop_maro.lcf
M363_MAP := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_shop_maro.map

M363_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/npc/d_a_npc_shop_maro/d_a_npc_shop_maro.cpp \

M363_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/npc/d_a_npc_shop_maro/d_a_npc_shop_maro.o \

M363_LIBS := \

M363_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M363_TARGET): $(M363_O_FILES) $(M363_LIBS)
	@echo [363] creating $(M363_TARGET)
	@echo $(M363_LIBS) $(M363_O_FILES) > build/M363_ofiles
	@python3 tools/lcf.py rel 363 --output $(M363_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M363_LDFLAGS) -o $(M363_TARGET) @build/M363_ofiles

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


