mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
462d71cbef
* Makefile: Fix issues with iconv causing it to break under devkitPro / msys The version of iconv included in devkitPro does not have a -o option, so replace it with normal shell redirection. Also, SHIFT-JIS does not have a mapping for ~, so output the Windows CP932 variant instead, which does. See: https://en.wikipedia.org/wiki/Tilde#Unicode_and_Shift_JIS_encoding_of_wave_dash https://en.wikipedia.org/wiki/Code_page_932_(Microsoft_Windows)#Single-byte_character_differences * Update diff configuration -Bbinary doesn't seem to work with my copy of bjdump (it says it can't decode unknown architecture) Cheese things by using expected/ instead of having the user place things manually. * JUTNameTab * J3DPacket / J3DDrawBuffer * format Co-authored-by: lepelog <lepelog@users.noreply.github.com>
50 lines
2.0 KiB
Makefile
50 lines
2.0 KiB
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
LIBJ3DGRAPHANIMATOR_A_CPP_FILES := \
|
|
libs/JSystem/J3DGraphAnimator/J3DShapeTable.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DJointTree.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DModelData.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DMtxBuffer.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DModel.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DMaterialAnm.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DSkinDeform.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DCluster.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DJoint.cpp \
|
|
libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.cpp \
|
|
|
|
LIBJ3DGRAPHANIMATOR_A_O_FILES := \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DShapeTable.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DJointTree.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DModelData.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DMtxBuffer.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DModel.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DAnimation.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DMaterialAnm.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DSkinDeform.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DCluster.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DJoint.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/J3DMaterialAttach.o \
|
|
|
|
LIBJ3DGRAPHANIMATOR_A_CFLAGS := \
|
|
|
|
LIBJ3DGRAPHANIMATOR_A_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
|
|
$(BUILD_DIR)/libJ3DGraphAnimator.a: $(LIBJ3DGRAPHANIMATOR_A_O_FILES)
|
|
@echo linking... $(BUILD_DIR)/libJ3DGraphAnimator.a
|
|
@echo $(LIBJ3DGRAPHANIMATOR_A_O_FILES) > build/LIBJ3DGRAPHANIMATOR_A_ofiles
|
|
@$(LD) -xm l $(LIBJ3DGRAPHANIMATOR_A_LDFLAGS) -o $(BUILD_DIR)/libJ3DGraphAnimator.a @build/LIBJ3DGRAPHANIMATOR_A_ofiles
|
|
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/%.o: libs/JSystem/J3DGraphAnimator/%.cpp
|
|
@mkdir -p $(@D)
|
|
@echo building... $<
|
|
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
|
|
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHANIMATOR_A_CFLAGS) -c -o $@ $@.iconv.cpp
|
|
|