Files
tp/rel/d/a/b/d_a_b_zant/Makefile
T
2023-01-06 03:52:59 -08:00

57 lines
1.5 KiB
Makefile

#
# Generated By: dol2asm
#
M155_TARGET := $(BUILD_DIR)/rel/d/a/b/d_a_b_zant.plf
M155_LDSCRIPT := $(BUILD_DIR)/rel/d/a/b/d_a_b_zant.lcf
M155_MAP := $(BUILD_DIR)/rel/d/a/b/d_a_b_zant.map
M155_CPP_FILES := \
rel/executor.cpp \
rel/global_destructor_chain.cpp \
rel/d/a/b/d_a_b_zant/d_a_b_zant.cpp \
M155_O_FILES := \
$(BUILD_DIR)/rel/executor.o \
$(BUILD_DIR)/rel/global_destructor_chain.o \
$(BUILD_DIR)/rel/d/a/b/d_a_b_zant/d_a_b_zant.o \
M155_LIBS := \
M155_CFLAGS := \
-sdata 0 \
-sdata2 0 \
M155_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
-sdata 0 \
-sdata2 0 \
-m _prolog \
-lcf $(M155_LDSCRIPT) \
-unused -map $(M155_MAP) \
-w off \
$(M155_TARGET): $(M155_O_FILES) $(M155_LIBS)
@echo [155] creating $(M155_TARGET)
@echo $(M155_LIBS) $(M155_O_FILES) > build/M155_ofiles
@python3 tools/lcf.py rel 155 --output $(M155_LDSCRIPT)
@$(LD) -opt_partial -strip_partial $(M155_LDFLAGS) -o $(M155_TARGET) @build/M155_ofiles
$(BUILD_DIR)/rel/d/a/b/d_a_b_zant/%.o: rel/d/a/b/d_a_b_zant/%.cpp $(BUILD_DIR)/rel/d/a/b/d_a_b_zant/%.d
@echo [155] building $@
@mkdir -p $(@D)
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
@$(CC) $(CFLAGS) $(M155_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
M155_D_FILES := $(M155_O_FILES:.o=.d)
$(M155_D_FILES):
include $(wildcard $(M155_D_FILES))
endif