#
# Generated By: dol2asm
#

M464_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_graWall.plf
M464_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_graWall.lcf
M464_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_graWall.map

M464_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_graWall/d_a_obj_graWall.cpp \

M464_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_graWall/d_a_obj_graWall.o \

M464_LIBS := \

M464_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M464_TARGET): $(M464_O_FILES) $(M464_LIBS)
	@echo [464] creating $(M464_TARGET)
	@echo $(M464_LIBS) $(M464_O_FILES) > build/M464_ofiles
	@python3 tools/lcf.py rel 464 --output $(M464_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M464_LDFLAGS) -o $(M464_TARGET) @build/M464_ofiles

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


