tp/rel/d/a/obj/d_a_obj_flag3/Makefile

48 lines
1.1 KiB
Makefile

#
# Generated By: dol2asm
#
M451_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag3.plf
M451_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag3.lcf
M451_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag3.map
M451_CPP_FILES := \
rel/executor.cpp \
rel/d/a/obj/d_a_obj_flag3/d_a_obj_flag3.cpp \
M451_O_FILES := \
$(BUILD_DIR)/rel/executor.o \
$(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag3/d_a_obj_flag3.o \
M451_LIBS := \
M451_CFLAGS := \
-sdata 0 \
-sdata2 0 \
M451_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
-sdata 0 \
-sdata2 0 \
-m _prolog \
-lcf $(M451_LDSCRIPT) \
-unused -map $(M451_MAP) \
-w off \
$(M451_TARGET): $(M451_O_FILES) $(M451_LIBS)
@echo [451] creating $(M451_TARGET)
@echo $(M451_LIBS) $(M451_O_FILES) > build/M451_ofiles
@python3 tools/lcf.py rel 451 --output $(M451_LDSCRIPT)
@$(LD) -opt_partial -strip_partial $(M451_LDFLAGS) -o $(M451_TARGET) @build/M451_ofiles
$(BUILD_DIR)/rel/d/a/obj/d_a_obj_flag3/%.o: rel/d/a/obj/d_a_obj_flag3/%.cpp
@echo [451] building $@
@mkdir -p $(@D)
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
@$(CC) $(CFLAGS) $(M451_CFLAGS) -c -o $@ $@.iconv.cpp