#
# Generated By: dol2asm
#

M234_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_st_line.plf
M234_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_st_line.lcf
M234_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_st_line.map

M234_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/e/d_a_e_st_line/d_a_e_st_line.cpp \

M234_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/e/d_a_e_st_line/d_a_e_st_line.o \

M234_LIBS := \

M234_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M234_TARGET): $(M234_O_FILES) $(M234_LIBS)
	@echo [234] creating $(M234_TARGET)
	@echo $(M234_LIBS) $(M234_O_FILES) > build/M234_ofiles
	@python3 tools/lcf.py rel 234 --output $(M234_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M234_LDFLAGS) -o $(M234_TARGET) @build/M234_ofiles

$(BUILD_DIR)/rel/d/a/e/d_a_e_st_line/%.o: rel/d/a/e/d_a_e_st_line/%.cpp $(BUILD_DIR)/rel/d/a/e/d_a_e_st_line/%.d
	@echo [234] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M234_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
M234_D_FILES := $(M234_O_FILES:.o=.d)
$(M234_D_FILES):
include $(wildcard $(M234_D_FILES))
endif


