#
# Generated By: dol2asm
#

M436_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_digholl.plf
M436_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_digholl.lcf
M436_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_digholl.map

M436_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_digholl/d_a_obj_digholl.cpp \

M436_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_digholl/d_a_obj_digholl.o \

M436_LIBS := \

M436_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M436_TARGET): $(M436_O_FILES) $(M436_LIBS)
	@echo [436] creating $(M436_TARGET)
	@echo $(M436_LIBS) $(M436_O_FILES) > build/M436_ofiles
	@python3 tools/lcf.py rel 436 --output $(M436_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M436_LDFLAGS) -o $(M436_TARGET) @build/M436_ofiles

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


