mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-02 16:47:59 -04:00
43 lines
1007 B
Makefile
43 lines
1007 B
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
M62_TARGET := $(BUILD_DIR)/rel/d/a/d_a_cstaf.plf
|
|
|
|
M62_CPP_FILES := \
|
|
rel/d/a/d_a_cstaf/executor.cpp \
|
|
rel/d/a/d_a_cstaf/unknown_translation_unit_ctors.cpp \
|
|
rel/d/a/d_a_cstaf/unknown_translation_unit_dtors.cpp \
|
|
rel/d/a/d_a_cstaf/d_a_cstaF.cpp \
|
|
|
|
M62_O_FILES := \
|
|
$(BUILD_DIR)/rel/d/a/d_a_cstaf/executor.o \
|
|
$(BUILD_DIR)/rel/d/a/d_a_cstaf/unknown_translation_unit_ctors.o \
|
|
$(BUILD_DIR)/rel/d/a/d_a_cstaf/unknown_translation_unit_dtors.o \
|
|
$(BUILD_DIR)/rel/d/a/d_a_cstaf/d_a_cstaF.o \
|
|
|
|
M62_LIBS := \
|
|
|
|
M62_CFLAGS := \
|
|
-sdata 0 \
|
|
-sdata2 0 \
|
|
|
|
M62_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
-sdata 0 \
|
|
-sdata2 0 \
|
|
|
|
$(M62_TARGET): $(M62_O_FILES) $(M62_LIBS)
|
|
@echo $(M62_LIBS) $(M62_O_FILES) > build/M62_ofiles
|
|
$(LD) -partial $(M62_LDFLAGS) -o $(M62_TARGET) @build/M62_ofiles
|
|
|
|
$(BUILD_DIR)/rel/d/a/d_a_cstaf/%.o: rel/d/a/d_a_cstaf/%.cpp
|
|
@mkdir -p $(@D)
|
|
$(CC) $(CFLAGS) $(M62_CFLAGS) -c -o $@ $<
|
|
$(STRIP) -d -R .dead -R .comment $@
|
|
|
|
|