tp/rel/d/a/npc/d_a_npc_fish/Makefile

48 lines
1.1 KiB
Makefile

#
# Generated By: dol2asm
#
M81_TARGET := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_fish.plf
M81_LDSCRIPT := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_fish.lcf
M81_MAP := $(BUILD_DIR)/rel/d/a/npc/d_a_npc_fish.map
M81_CPP_FILES := \
rel/executor.cpp \
rel/d/a/npc/d_a_npc_fish/d_a_npc_fish.cpp \
M81_O_FILES := \
$(BUILD_DIR)/rel/executor.o \
$(BUILD_DIR)/rel/d/a/npc/d_a_npc_fish/d_a_npc_fish.o \
M81_LIBS := \
M81_CFLAGS := \
-sdata 0 \
-sdata2 0 \
M81_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
-sdata 0 \
-sdata2 0 \
-m _prolog \
-lcf $(M81_LDSCRIPT) \
-unused -map $(M81_MAP) \
-w off \
$(M81_TARGET): $(M81_O_FILES) $(M81_LIBS)
@echo [ 81] creating $(M81_TARGET)
@echo $(M81_LIBS) $(M81_O_FILES) > build/M81_ofiles
@python3 tools/lcf.py rel 81 --output $(M81_LDSCRIPT)
@$(LD) -opt_partial -strip_partial $(M81_LDFLAGS) -o $(M81_TARGET) @build/M81_ofiles
$(BUILD_DIR)/rel/d/a/npc/d_a_npc_fish/%.o: rel/d/a/npc/d_a_npc_fish/%.cpp
@echo [ 81] building $@
@mkdir -p $(@D)
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
@$(CC) $(CFLAGS) $(M81_CFLAGS) -c -o $@ $(basename $@).cpp