tp/libs/JSystem/J3DGraphBase/Makefile

63 lines
2.4 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 $(BUILD_DIR)/libs/JSystem/J3DGraphBase/%.d
@mkdir -p $(@D)
@echo building... $<
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHBASE_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
LIBJ3DGRAPHBASE_A_D_FILES := $(LIBJ3DGRAPHBASE_A_O_FILES:.o=.d)
$(LIBJ3DGRAPHBASE_A_D_FILES):
include $(wildcard $(LIBJ3DGRAPHBASE_A_D_FILES))
endif