Files
tp/rel/d/a/obj/d_a_obj_swallshutter/Makefile
T

57 lines
1.6 KiB
Makefile
Raw Normal View History

2021-03-28 22:49:05 +02:00
#
# Generated By: dol2asm
#
M111_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_swallshutter.plf
2021-04-06 18:00:35 +02:00
M111_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_swallshutter.lcf
M111_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_swallshutter.map
2021-03-28 22:49:05 +02:00
M111_CPP_FILES := \
2021-04-06 18:00:35 +02:00
rel/executor.cpp \
rel/global_destructor_chain.cpp \
2021-03-28 22:49:05 +02:00
rel/d/a/obj/d_a_obj_swallshutter/d_a_obj_sWallShutter.cpp \
M111_O_FILES := \
2021-04-06 18:00:35 +02:00
$(BUILD_DIR)/rel/executor.o \
$(BUILD_DIR)/rel/global_destructor_chain.o \
2021-03-28 22:49:05 +02:00
$(BUILD_DIR)/rel/d/a/obj/d_a_obj_swallshutter/d_a_obj_sWallShutter.o \
M111_LIBS := \
M111_CFLAGS := \
-sdata 0 \
-sdata2 0 \
M111_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
-sdata 0 \
-sdata2 0 \
2021-04-06 18:00:35 +02:00
-m _prolog \
-lcf $(M111_LDSCRIPT) \
-unused -map $(M111_MAP) \
-w off \
2021-03-28 22:49:05 +02:00
$(M111_TARGET): $(M111_O_FILES) $(M111_LIBS)
2021-04-06 18:00:35 +02:00
@echo [111] creating $(M111_TARGET)
2021-03-28 22:49:05 +02:00
@echo $(M111_LIBS) $(M111_O_FILES) > build/M111_ofiles
2021-04-06 18:00:35 +02:00
@python3 tools/lcf.py rel 111 --output $(M111_LDSCRIPT)
@$(LD) -opt_partial -strip_partial $(M111_LDFLAGS) -o $(M111_TARGET) @build/M111_ofiles
2021-03-28 22:49:05 +02:00
2023-01-06 03:42:56 -08:00
$(BUILD_DIR)/rel/d/a/obj/d_a_obj_swallshutter/%.o: rel/d/a/obj/d_a_obj_swallshutter/%.cpp $(BUILD_DIR)/rel/d/a/obj/d_a_obj_swallshutter/%.d
2021-04-06 18:00:35 +02:00
@echo [111] building $@
2021-03-28 22:49:05 +02:00
@mkdir -p $(@D)
2021-12-02 23:38:37 +01:00
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
2023-01-06 03:42:56 -08:00
@$(CC) $(CFLAGS) $(M111_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
M111_D_FILES := $(M111_O_FILES:.o=.d)
$(M111_D_FILES):
include $(wildcard $(M111_D_FILES))
endif
2021-03-28 22:49:05 +02:00