#
# Generated By: dol2asm
#

M709_TARGET := $(BUILD_DIR)/rel/d/a/d_a_swTime.plf
M709_LDSCRIPT := $(BUILD_DIR)/rel/d/a/d_a_swTime.lcf
M709_MAP := $(BUILD_DIR)/rel/d/a/d_a_swTime.map

M709_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/d_a_swTime/d_a_swTime.cpp \

M709_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/d_a_swTime/d_a_swTime.o \

M709_LIBS := \

M709_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M709_TARGET): $(M709_O_FILES) $(M709_LIBS)
	@echo [709] creating $(M709_TARGET)
	@echo $(M709_LIBS) $(M709_O_FILES) > build/M709_ofiles
	@python3 tools/lcf.py rel 709 --output $(M709_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M709_LDFLAGS) -o $(M709_TARGET) @build/M709_ofiles

$(BUILD_DIR)/rel/d/a/d_a_swTime/%.o: rel/d/a/d_a_swTime/%.cpp $(BUILD_DIR)/rel/d/a/d_a_swTime/%.d
	@echo [709] building $@
	@mkdir -p $(@D)
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(M709_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
M709_D_FILES := $(M709_O_FILES:.o=.d)
$(M709_D_FILES):
include $(wildcard $(M709_D_FILES))
endif


