tp/libs/JSystem/J3DGraphLoader/Makefile

51 lines
2.0 KiB
Makefile

#
# Generated By: dol2asm
#
LIBJ3DGRAPHLOADER_A_CPP_FILES := \
libs/JSystem/J3DGraphLoader/J3DMaterialFactory.cpp \
libs/JSystem/J3DGraphLoader/J3DMaterialFactory_v21.cpp \
libs/JSystem/J3DGraphLoader/J3DClusterLoader.cpp \
libs/JSystem/J3DGraphLoader/J3DModelLoader.cpp \
libs/JSystem/J3DGraphLoader/J3DModelLoaderCalcSize.cpp \
libs/JSystem/J3DGraphLoader/J3DJointFactory.cpp \
libs/JSystem/J3DGraphLoader/J3DShapeFactory.cpp \
libs/JSystem/J3DGraphLoader/J3DAnmLoader.cpp \
LIBJ3DGRAPHLOADER_A_O_FILES := \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DMaterialFactory.o \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DMaterialFactory_v21.o \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DClusterLoader.o \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DModelLoader.o \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DModelLoaderCalcSize.o \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DJointFactory.o \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DShapeFactory.o \
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/J3DAnmLoader.o \
LIBJ3DGRAPHLOADER_A_CFLAGS := \
LIBJ3DGRAPHLOADER_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libJ3DGraphLoader.a: $(LIBJ3DGRAPHLOADER_A_O_FILES)
@echo linking... $(BUILD_DIR)/libJ3DGraphLoader.a
@echo $(LIBJ3DGRAPHLOADER_A_O_FILES) > build/LIBJ3DGRAPHLOADER_A_ofiles
@$(LD) -xm l $(LIBJ3DGRAPHLOADER_A_LDFLAGS) -o $(BUILD_DIR)/libJ3DGraphLoader.a @build/LIBJ3DGRAPHLOADER_A_ofiles
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/%.o: libs/JSystem/J3DGraphLoader/%.cpp $(BUILD_DIR)/libs/JSystem/J3DGraphLoader/%.d
@mkdir -p $(@D)
@echo building... $<
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHLOADER_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
LIBJ3DGRAPHLOADER_A_D_FILES := $(LIBJ3DGRAPHLOADER_A_O_FILES:.o=.d)
$(LIBJ3DGRAPHLOADER_A_D_FILES):
include $(wildcard $(LIBJ3DGRAPHLOADER_A_D_FILES))
endif