#
# Generated By: dol2asm
#

M716_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_bottle_item.plf
M716_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_bottle_item.lcf
M716_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_bottle_item.map

M716_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_bottle_item/d_a_tag_bottle_item.cpp \

M716_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_bottle_item/d_a_tag_bottle_item.o \

M716_LIBS := \

M716_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M716_TARGET): $(M716_O_FILES) $(M716_LIBS)
	@echo [716] creating $(M716_TARGET)
	@echo $(M716_LIBS) $(M716_O_FILES) > build/M716_ofiles
	@python3 tools/lcf.py rel 716 --output $(M716_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M716_LDFLAGS) -o $(M716_TARGET) @build/M716_ofiles

$(BUILD_DIR)/rel/d/a/tag/d_a_tag_bottle_item/%.o: rel/d/a/tag/d_a_tag_bottle_item/%.cpp $(BUILD_DIR)/rel/d/a/tag/d_a_tag_bottle_item/%.d
	@echo [716] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M716_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
M716_D_FILES := $(M716_O_FILES:.o=.d)
$(M716_D_FILES):
include $(wildcard $(M716_D_FILES))
endif


