mirror of
https://github.com/zeldaret/tp
synced 2026-08-22 06:44:53 -04:00
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
M1_TARGET := $(BUILD_DIR)/rel/f_pc/f_pc_profile_lst.plf
|
|
|
|
M1_CPP_FILES := \
|
|
rel/f_pc/f_pc_profile_lst/executor.cpp \
|
|
rel/f_pc/f_pc_profile_lst/unknown_translation_unit_ctors.cpp \
|
|
rel/f_pc/f_pc_profile_lst/unknown_translation_unit_dtors.cpp \
|
|
rel/f_pc/f_pc_profile_lst/f_pc_profile_lst.cpp \
|
|
|
|
M1_O_FILES := \
|
|
$(BUILD_DIR)/rel/f_pc/f_pc_profile_lst/executor.o \
|
|
$(BUILD_DIR)/rel/f_pc/f_pc_profile_lst/unknown_translation_unit_ctors.o \
|
|
$(BUILD_DIR)/rel/f_pc/f_pc_profile_lst/unknown_translation_unit_dtors.o \
|
|
$(BUILD_DIR)/rel/f_pc/f_pc_profile_lst/f_pc_profile_lst.o \
|
|
|
|
M1_LIBS := \
|
|
|
|
M1_CFLAGS := \
|
|
-sdata 0 \
|
|
-sdata2 0 \
|
|
|
|
M1_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
-sdata 0 \
|
|
-sdata2 0 \
|
|
|
|
$(M1_TARGET): $(M1_O_FILES) $(M1_LIBS)
|
|
@echo $(M1_LIBS) $(M1_O_FILES) > build/M1_ofiles
|
|
$(LD) -partial $(M1_LDFLAGS) -o $(M1_TARGET) @build/M1_ofiles
|
|
|
|
$(BUILD_DIR)/rel/f_pc/f_pc_profile_lst/%.o: rel/f_pc/f_pc_profile_lst/%.cpp
|
|
@mkdir -p $(@D)
|
|
$(CC) $(CFLAGS) $(M1_CFLAGS) -c -o $@ $<
|
|
$(STRIP) -d -R .dead -R .comment $@
|
|
|
|
|