#
# Generated By: dol2asm
#

M126_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_hjump.plf
M126_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_hjump.lcf
M126_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_hjump.map

M126_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_hjump/d_a_tag_hjump.cpp \

M126_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_hjump/d_a_tag_hjump.o \

M126_LIBS := \

M126_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M126_TARGET): $(M126_O_FILES) $(M126_LIBS)
	@echo [126] creating $(M126_TARGET)
	@echo $(M126_LIBS) $(M126_O_FILES) > build/M126_ofiles
	@python3 tools/lcf.py rel 126 --output $(M126_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M126_LDFLAGS) -o $(M126_TARGET) @build/M126_ofiles

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


