tp/rel/d/a/obj/d_a_obj_lp/Makefile

48 lines
1.1 KiB
Makefile

#
# Generated By: dol2asm
#
M514_TARGET := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lp.plf
M514_LDSCRIPT := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lp.lcf
M514_MAP := $(BUILD_DIR)/rel/d/a/obj/d_a_obj_lp.map
M514_CPP_FILES := \
rel/executor.cpp \
rel/d/a/obj/d_a_obj_lp/d_a_obj_lp.cpp \
M514_O_FILES := \
$(BUILD_DIR)/rel/executor.o \
$(BUILD_DIR)/rel/d/a/obj/d_a_obj_lp/d_a_obj_lp.o \
M514_LIBS := \
M514_CFLAGS := \
-sdata 0 \
-sdata2 0 \
M514_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
-sdata 0 \
-sdata2 0 \
-m _prolog \
-lcf $(M514_LDSCRIPT) \
-unused -map $(M514_MAP) \
-w off \
$(M514_TARGET): $(M514_O_FILES) $(M514_LIBS)
@echo [514] creating $(M514_TARGET)
@echo $(M514_LIBS) $(M514_O_FILES) > build/M514_ofiles
@python3 tools/lcf.py rel 514 --output $(M514_LDSCRIPT)
@$(LD) -opt_partial -strip_partial $(M514_LDFLAGS) -o $(M514_TARGET) @build/M514_ofiles
$(BUILD_DIR)/rel/d/a/obj/d_a_obj_lp/%.o: rel/d/a/obj/d_a_obj_lp/%.cpp
@echo [514] building $@
@mkdir -p $(@D)
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
@$(CC) $(CFLAGS) $(M514_CFLAGS) -c -o $@ $@.iconv.cpp