#
# Generated By: dol2asm
#

M746_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_ss_drink.plf
M746_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_ss_drink.lcf
M746_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_ss_drink.map

M746_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_ss_drink/d_a_tag_ss_drink.cpp \

M746_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_ss_drink/d_a_tag_ss_drink.o \

M746_LIBS := \

M746_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M746_TARGET): $(M746_O_FILES) $(M746_LIBS)
	@echo [746] creating $(M746_TARGET)
	@echo $(M746_LIBS) $(M746_O_FILES) > build/M746_ofiles
	@python3 tools/lcf.py rel 746 --output $(M746_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M746_LDFLAGS) -o $(M746_TARGET) @build/M746_ofiles

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


