#
# Generated By: dol2asm
#

M149_TARGET := $(BUILD_DIR)/rel/d/a/b/d_a_b_ob.plf
M149_LDSCRIPT := $(BUILD_DIR)/rel/d/a/b/d_a_b_ob.lcf
M149_MAP := $(BUILD_DIR)/rel/d/a/b/d_a_b_ob.map

M149_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/b/d_a_b_ob/d_a_b_ob.cpp \

M149_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/b/d_a_b_ob/d_a_b_ob.o \

M149_LIBS := \

M149_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M149_TARGET): $(M149_O_FILES) $(M149_LIBS)
	@echo [149] creating $(M149_TARGET)
	@echo $(M149_LIBS) $(M149_O_FILES) > build/M149_ofiles
	@python3 tools/lcf.py rel 149 --output $(M149_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M149_LDFLAGS) -o $(M149_TARGET) @build/M149_ofiles

$(BUILD_DIR)/rel/d/a/b/d_a_b_ob/%.o: rel/d/a/b/d_a_b_ob/%.cpp $(BUILD_DIR)/rel/d/a/b/d_a_b_ob/%.d
	@echo [149] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M149_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
M149_D_FILES := $(M149_O_FILES:.o=.d)
$(M149_D_FILES):
include $(wildcard $(M149_D_FILES))
endif


