#
# Generated By: dol2asm
#

M459_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_glowSphere.plf
M459_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_glowSphere.lcf
M459_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_glowSphere.map

M459_CPP_FILES := \
	rel/executor.cpp \
	rel/global_destructor_chain.cpp \
	rel/d/a/obj/d_a_obj_glowSphere/d_a_obj_glowSphere.cpp \

M459_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/global_destructor_chain.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_glowSphere/d_a_obj_glowSphere.o \

M459_LIBS := \

M459_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M459_TARGET): $(M459_O_FILES) $(M459_LIBS)
	@echo [459] creating $(M459_TARGET)
	@echo $(M459_LIBS) $(M459_O_FILES) > build/M459_ofiles
	@python3 tools/lcf.py rel 459 --output $(M459_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M459_LDFLAGS) -o $(M459_TARGET) @build/M459_ofiles

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


