#
# Generated By: dol2asm
#

M183_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_db_leaf.plf
M183_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_db_leaf.lcf
M183_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_db_leaf.map

M183_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/e/d_a_e_db_leaf/d_a_e_db_leaf.cpp \

M183_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/e/d_a_e_db_leaf/d_a_e_db_leaf.o \

M183_LIBS := \

M183_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M183_TARGET): $(M183_O_FILES) $(M183_LIBS)
	@echo [183] creating $(M183_TARGET)
	@echo $(M183_LIBS) $(M183_O_FILES) > build/M183_ofiles
	@python3 tools/lcf.py rel 183 --output $(M183_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M183_LDFLAGS) -o $(M183_TARGET) @build/M183_ofiles

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


