#
# Generated By: dol2asm
#

M688_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wind_stone.plf
M688_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wind_stone.lcf
M688_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_wind_stone.map

M688_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_wind_stone/d_a_obj_wind_stone.cpp \

M688_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_wind_stone/d_a_obj_wind_stone.o \

M688_LIBS := \

M688_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M688_TARGET): $(M688_O_FILES) $(M688_LIBS)
	@echo [688] creating $(M688_TARGET)
	@echo $(M688_LIBS) $(M688_O_FILES) > build/M688_ofiles
	@python3 tools/lcf.py rel 688 --output $(M688_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M688_LDFLAGS) -o $(M688_TARGET) @build/M688_ofiles

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


