#
# Generated By: dol2asm
#

M34_TARGET := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_howl.plf
M34_LDSCRIPT := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_howl.lcf
M34_MAP := $(BUILD_DIR)/rel/d/a/tag/d_a_tag_howl.map

M34_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/tag/d_a_tag_howl/d_a_tag_howl.cpp \

M34_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/tag/d_a_tag_howl/d_a_tag_howl.o \

M34_LIBS := \

M34_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M34_TARGET): $(M34_O_FILES) $(M34_LIBS)
	@echo [ 34] creating $(M34_TARGET)
	@echo $(M34_LIBS) $(M34_O_FILES) > build/M34_ofiles
	@python3 tools/lcf.py rel 34 --output $(M34_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M34_LDFLAGS) -o $(M34_TARGET) @build/M34_ofiles

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


