#
# Generated By: dol2asm
#

M194_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_gi.plf
M194_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_gi.lcf
M194_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_gi.map

M194_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/e/d_a_e_gi/d_a_e_gi.cpp \

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

M194_LIBS := \

M194_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M194_TARGET): $(M194_O_FILES) $(M194_LIBS)
	@echo [194] creating $(M194_TARGET)
	@echo $(M194_LIBS) $(M194_O_FILES) > build/M194_ofiles
	@python3 tools/lcf.py rel 194 --output $(M194_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M194_LDFLAGS) -o $(M194_TARGET) @build/M194_ofiles

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


