mirror of https://github.com/zeldaret/tp.git
56 lines
2.1 KiB
Makefile
56 lines
2.1 KiB
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
LIBJ3DGRAPHBASE_A_CPP_FILES := \
|
|
libs/JSystem/J3DGraphBase/J3DGD.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DSys.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DVertex.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DTransform.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DTexture.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DPacket.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DShapeMtx.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DShapeDraw.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DShape.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DMaterial.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DMatBlock.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DTevs.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DDrawBuffer.cpp \
|
|
libs/JSystem/J3DGraphBase/J3DStruct.cpp \
|
|
|
|
LIBJ3DGRAPHBASE_A_O_FILES := \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DGD.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DSys.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DVertex.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DTransform.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DTexture.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DPacket.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DShapeMtx.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DShapeDraw.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DShape.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DMaterial.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DMatBlock.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DTevs.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DDrawBuffer.o \
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/J3DStruct.o \
|
|
|
|
LIBJ3DGRAPHBASE_A_CFLAGS := \
|
|
|
|
LIBJ3DGRAPHBASE_A_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
|
|
$(BUILD_DIR)/libJ3DGraphBase.a: $(LIBJ3DGRAPHBASE_A_O_FILES)
|
|
@echo linking... $(BUILD_DIR)/libJ3DGraphBase.a
|
|
@echo $(LIBJ3DGRAPHBASE_A_O_FILES) > build/LIBJ3DGRAPHBASE_A_ofiles
|
|
@$(LD) -xm l $(LIBJ3DGRAPHBASE_A_LDFLAGS) -o $(BUILD_DIR)/libJ3DGraphBase.a @build/LIBJ3DGRAPHBASE_A_ofiles
|
|
|
|
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/%.o: libs/JSystem/J3DGraphBase/%.cpp
|
|
@mkdir -p $(@D)
|
|
@echo building... $<
|
|
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
|
|
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHBASE_A_CFLAGS) -c -o $@ $@.iconv.cpp
|
|
|