2021-03-28 22:49:05 +02:00
|
|
|
#
|
|
|
|
|
# Generated By: dol2asm
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
M193_TARGET := $(BUILD_DIR)/rel/d/a/e/d_a_e_ge.plf
|
2021-04-06 18:00:35 +02:00
|
|
|
M193_LDSCRIPT := $(BUILD_DIR)/rel/d/a/e/d_a_e_ge.lcf
|
|
|
|
|
M193_MAP := $(BUILD_DIR)/rel/d/a/e/d_a_e_ge.map
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
M193_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/e/d_a_e_ge/d_a_e_ge.cpp \
|
|
|
|
|
|
|
|
|
|
M193_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/e/d_a_e_ge/d_a_e_ge.o \
|
|
|
|
|
|
|
|
|
|
M193_LIBS := \
|
|
|
|
|
|
|
|
|
|
M193_CFLAGS := \
|
|
|
|
|
-sdata 0 \
|
|
|
|
|
-sdata2 0 \
|
|
|
|
|
|
|
|
|
|
M193_LDFLAGS := \
|
|
|
|
|
-nodefaults \
|
|
|
|
|
-fp hard \
|
|
|
|
|
-proc gekko \
|
|
|
|
|
-linkmode moreram \
|
|
|
|
|
-sdata 0 \
|
|
|
|
|
-sdata2 0 \
|
2021-04-06 18:00:35 +02:00
|
|
|
-m _prolog \
|
|
|
|
|
-lcf $(M193_LDSCRIPT) \
|
|
|
|
|
-unused -map $(M193_MAP) \
|
|
|
|
|
-w off \
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
$(M193_TARGET): $(M193_O_FILES) $(M193_LIBS)
|
2021-04-06 18:00:35 +02:00
|
|
|
@echo [193] creating $(M193_TARGET)
|
2021-03-28 22:49:05 +02:00
|
|
|
@echo $(M193_LIBS) $(M193_O_FILES) > build/M193_ofiles
|
2021-04-06 18:00:35 +02:00
|
|
|
@python3 tools/lcf.py rel 193 --output $(M193_LDSCRIPT)
|
|
|
|
|
@$(LD) -opt_partial -strip_partial $(M193_LDFLAGS) -o $(M193_TARGET) @build/M193_ofiles
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
$(BUILD_DIR)/rel/d/a/e/d_a_e_ge/%.o: rel/d/a/e/d_a_e_ge/%.cpp
|
2021-04-06 18:00:35 +02:00
|
|
|
@echo [193] 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
|
|
|
|
|
@$(CC) $(CFLAGS) $(M193_CFLAGS) -c -o $@ $(basename $@).cpp
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
|