#
# Generated By: dol2asm
#

M437_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_digsnow.plf
M437_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_digsnow.lcf
M437_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_digsnow.map

M437_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_digsnow/d_a_obj_digsnow.cpp \

M437_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_digsnow/d_a_obj_digsnow.o \

M437_LIBS := \

M437_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M437_TARGET): $(M437_O_FILES) $(M437_LIBS)
	@echo [437] creating $(M437_TARGET)
	@echo $(M437_LIBS) $(M437_O_FILES) > build/M437_ofiles
	@python3 tools/lcf.py rel 437 --output $(M437_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M437_LDFLAGS) -o $(M437_TARGET) @build/M437_ofiles

$(BUILD_DIR)/rel/d/a/obj/d_a_obj_digsnow/%.o: rel/d/a/obj/d_a_obj_digsnow/%.cpp $(BUILD_DIR)/rel/d/a/obj/d_a_obj_digsnow/%.d
	@echo [437] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M437_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
M437_D_FILES := $(M437_O_FILES:.o=.d)
$(M437_D_FILES):
include $(wildcard $(M437_D_FILES))
endif


