#
# Generated By: dol2asm
#

M243_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_warpappear.plf
M243_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_warpappear.lcf
M243_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_warpappear.map

M243_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/e/d_a_e_warpappear/d_a_e_warpappear.cpp \

M243_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/e/d_a_e_warpappear/d_a_e_warpappear.o \

M243_LIBS := \

M243_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M243_TARGET): $(M243_O_FILES) $(M243_LIBS)
	@echo [243] creating $(M243_TARGET)
	@echo $(M243_LIBS) $(M243_O_FILES) > build/M243_ofiles
	@python3 tools/lcf.py rel 243 --output $(M243_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M243_LDFLAGS) -o $(M243_TARGET) @build/M243_ofiles

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


