summaryrefslogtreecommitdiff
path: root/libs/JSystem/J3DGraphAnimator/Makefile
blob: 6519b67f8246f54dcea3a6404bdbf155e31e9e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# 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 $(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/%.d
	@mkdir -p $(@D)
	@echo building... $<
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(LIBJ3DGRAPHANIMATOR_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).cpp
	@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi

ifndef DISABLE_DEPS
LIBJ3DGRAPHANIMATOR_A_D_FILES := $(LIBJ3DGRAPHANIMATOR_A_O_FILES:.o=.d)
$(LIBJ3DGRAPHANIMATOR_A_D_FILES):
include $(wildcard $(LIBJ3DGRAPHANIMATOR_A_D_FILES))
endif