#
# Generated By: dol2asm
#

M742_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_shop_item.plf
M742_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_shop_item.lcf
M742_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_shop_item.map

M742_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_shop_item/d_a_tag_shop_item.cpp \

M742_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_shop_item/d_a_tag_shop_item.o \

M742_LIBS := \

M742_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M742_TARGET): $(M742_O_FILES) $(M742_LIBS)
	@echo [742] creating $(M742_TARGET)
	@echo $(M742_LIBS) $(M742_O_FILES) > build/M742_ofiles
	@python3 tools/lcf.py rel 742 --output $(M742_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M742_LDFLAGS) -o $(M742_TARGET) @build/M742_ofiles

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


