#
# Generated By: dol2asm
#

M184_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_dd.plf
M184_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_dd.lcf
M184_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_dd.map

M184_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/e/d_a_e_dd/d_a_e_dd.cpp \

M184_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/e/d_a_e_dd/d_a_e_dd.o \

M184_LIBS := \

M184_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M184_TARGET): $(M184_O_FILES) $(M184_LIBS)
	@echo [184] creating $(M184_TARGET)
	@echo $(M184_LIBS) $(M184_O_FILES) > build/M184_ofiles
	@python3 tools/lcf.py rel 184 --output $(M184_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M184_LDFLAGS) -o $(M184_TARGET) @build/M184_ofiles

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


