mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-10 10:43:41 -04:00
43 lines
1007 B
Makefile
43 lines
1007 B
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
M43_TARGET := $(BUILD_DIR)/rel/d/a/d_a_vrbox.plf
|
|
|
|
M43_CPP_FILES := \
|
|
rel/d/a/d_a_vrbox/executor.cpp \
|
|
rel/d/a/d_a_vrbox/unknown_translation_unit_ctors.cpp \
|
|
rel/d/a/d_a_vrbox/unknown_translation_unit_dtors.cpp \
|
|
rel/d/a/d_a_vrbox/d_a_vrbox.cpp \
|
|
|
|
M43_O_FILES := \
|
|
$(BUILD_DIR)/rel/d/a/d_a_vrbox/executor.o \
|
|
$(BUILD_DIR)/rel/d/a/d_a_vrbox/unknown_translation_unit_ctors.o \
|
|
$(BUILD_DIR)/rel/d/a/d_a_vrbox/unknown_translation_unit_dtors.o \
|
|
$(BUILD_DIR)/rel/d/a/d_a_vrbox/d_a_vrbox.o \
|
|
|
|
M43_LIBS := \
|
|
|
|
M43_CFLAGS := \
|
|
-sdata 0 \
|
|
-sdata2 0 \
|
|
|
|
M43_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
-sdata 0 \
|
|
-sdata2 0 \
|
|
|
|
$(M43_TARGET): $(M43_O_FILES) $(M43_LIBS)
|
|
@echo $(M43_LIBS) $(M43_O_FILES) > build/M43_ofiles
|
|
$(LD) -partial $(M43_LDFLAGS) -o $(M43_TARGET) @build/M43_ofiles
|
|
|
|
$(BUILD_DIR)/rel/d/a/d_a_vrbox/%.o: rel/d/a/d_a_vrbox/%.cpp
|
|
@mkdir -p $(@D)
|
|
$(CC) $(CFLAGS) $(M43_CFLAGS) -c -o $@ $<
|
|
$(STRIP) -d -R .dead -R .comment $@
|
|
|
|
|