#
# Generated By: dol2asm
#

M751_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_waterfall.plf
M751_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_waterfall.lcf
M751_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_waterfall.map

M751_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/tag/d_a_tag_waterfall/d_a_tag_waterfall.cpp \

M751_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_waterfall/d_a_tag_waterfall.o \

M751_LIBS := \

M751_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M751_TARGET): $(M751_O_FILES) $(M751_LIBS)
	@echo [751] creating $(M751_TARGET)
	@echo $(M751_LIBS) $(M751_O_FILES) > build/M751_ofiles
	@python3 tools/lcf.py rel 751 --output $(M751_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M751_LDFLAGS) -o $(M751_TARGET) @build/M751_ofiles

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


