#
# Generated By: dol2asm
#

M690_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_pendulum.plf
M690_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_pendulum.lcf
M690_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_pendulum.map

M690_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_wood_pendulum/d_a_obj_wood_pendulum.cpp \

M690_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_wood_pendulum/d_a_obj_wood_pendulum.o \

M690_LIBS := \

M690_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M690_TARGET): $(M690_O_FILES) $(M690_LIBS)
	@echo [690] creating $(M690_TARGET)
	@echo $(M690_LIBS) $(M690_O_FILES) > build/M690_ofiles
	@python3 tools/lcf.py rel 690 --output $(M690_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M690_LDFLAGS) -o $(M690_TARGET) @build/M690_ofiles

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


