#
# Generated By: dol2asm
#

M441_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_enemy_create.plf
M441_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_enemy_create.lcf
M441_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_enemy_create.map

M441_CPP_FILES := \
	rel/executor.cpp \
	rel/d/a/obj/d_a_obj_enemy_create/d_a_obj_enemy_create.cpp \

M441_O_FILES := \
	$(BUILD_DIR)/rel/executor.o \
	$(BUILD_DIR)/rel/d/a/obj/d_a_obj_enemy_create/d_a_obj_enemy_create.o \

M441_LIBS := \

M441_CFLAGS := \
	-sdata 0 \
	-sdata2 0 \

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

$(M441_TARGET): $(M441_O_FILES) $(M441_LIBS)
	@echo [441] creating $(M441_TARGET)
	@echo $(M441_LIBS) $(M441_O_FILES) > build/M441_ofiles
	@python3 tools/lcf.py rel 441 --output $(M441_LDSCRIPT)
	@$(LD) -opt_partial -strip_partial $(M441_LDFLAGS) -o $(M441_TARGET) @build/M441_ofiles

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


