2008-09-12 20:25:11 +00:00
|
|
|
#rough makefile for linux/gnu systems. requires that boost libs are installed
|
|
|
|
#produces shared library output in bin/libassimp.so
|
|
|
|
|
|
|
|
|
2008-10-13 16:45:48 +00:00
|
|
|
SOURCES = AssimpPCH.cpp \
|
|
|
|
3DSConverter.cpp \
|
2008-09-12 20:25:11 +00:00
|
|
|
3DSLoader.cpp \
|
|
|
|
aiAssert.cpp \
|
|
|
|
ASELoader.cpp \
|
|
|
|
ASEParser.cpp \
|
|
|
|
Assimp.cpp BaseImporter.cpp BaseProcess.cpp \
|
|
|
|
CalcTangentsProcess.cpp \
|
|
|
|
ConvertToLHProcess.cpp \
|
|
|
|
DefaultIOStream.cpp \
|
|
|
|
DefaultIOSystem.cpp \
|
|
|
|
DefaultLogger.cpp \
|
|
|
|
DXFLoader.cpp \
|
|
|
|
FixNormalsStep.cpp \
|
|
|
|
GenFaceNormalsProcess.cpp \
|
|
|
|
GenVertexNormalsProcess.cpp \
|
|
|
|
HMPLoader.cpp \
|
|
|
|
Importer.cpp \
|
|
|
|
ImproveCacheLocality.cpp \
|
|
|
|
JoinVerticesProcess.cpp \
|
2008-10-02 15:22:38 +00:00
|
|
|
RemoveVCProcess.cpp \
|
2008-09-12 20:25:11 +00:00
|
|
|
LimitBoneWeightsProcess.cpp \
|
|
|
|
LWOBLoader.cpp \
|
|
|
|
LWOLoader.cpp \
|
|
|
|
LWOMaterial.cpp \
|
|
|
|
MaterialSystem.cpp \
|
|
|
|
MD2Loader.cpp \
|
|
|
|
MD3Loader.cpp \
|
|
|
|
MD5Loader.cpp \
|
|
|
|
MD5Parser.cpp \
|
|
|
|
MDCLoader.cpp \
|
|
|
|
MDLLoader.cpp \
|
|
|
|
MDLMaterialLoader.cpp \
|
|
|
|
NFFLoader.cpp \
|
|
|
|
ObjFileImporter.cpp \
|
|
|
|
ObjFileMtlImporter.cpp \
|
|
|
|
ObjFileParser.cpp \
|
|
|
|
OptimizeGraphProcess.cpp \
|
|
|
|
PlyLoader.cpp \
|
|
|
|
PlyParser.cpp \
|
|
|
|
PretransformVertices.cpp \
|
|
|
|
RemoveComments.cpp \
|
|
|
|
RemoveRedundantMaterials.cpp \
|
|
|
|
SGSpatialSort.cpp \
|
|
|
|
SMDLoader.cpp \
|
|
|
|
SpatialSort.cpp \
|
|
|
|
SplitLargeMeshes.cpp \
|
|
|
|
StandardShapes.cpp \
|
|
|
|
STLLoader.cpp \
|
|
|
|
TextureTransform.cpp \
|
|
|
|
TriangulateProcess.cpp \
|
|
|
|
ValidateDataStructure.cpp \
|
|
|
|
VertexTriangleAdjacency.cpp \
|
|
|
|
XFileImporter.cpp \
|
2008-09-16 16:17:32 +00:00
|
|
|
MDRLoader.cpp \
|
|
|
|
RawLoader.cpp \
|
|
|
|
OFFLoader.cpp \
|
2008-09-30 20:20:56 +00:00
|
|
|
SortByPTypeProcess.cpp \
|
2008-10-13 16:45:48 +00:00
|
|
|
FindInvalidDataProcess.cpp \
|
|
|
|
ACLoader.cpp \
|
|
|
|
LWSLoader.cpp \
|
2008-10-22 20:06:16 +00:00
|
|
|
BVHLoader.cpp \
|
|
|
|
SceneCombiner.cpp \
|
|
|
|
SkeletonMeshBuilder.cpp \
|
|
|
|
FindDegenerates.cpp \
|
2008-10-24 20:37:54 +00:00
|
|
|
XFileParser.cpp \
|
|
|
|
./irrXML/irrXML.cpp \
|
|
|
|
IRRMeshLoader.cpp
|
2008-09-12 20:25:11 +00:00
|
|
|
|
|
|
|
OBJECTS = $(SOURCES:.cpp=.o)
|
|
|
|
|
|
|
|
TARGET = ./../bin/libassimp.so
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
|
|
gcc -o $@ $(OBJECTS) -shared -lstdc++
|
|
|
|
%.o:%.cpp
|
2008-09-16 16:17:32 +00:00
|
|
|
$(CXX) -g -Wall -c $? -o $@ -I../include -I"C:\Program Files\boost\boost_1_35_0" -fPIC
|
2008-09-12 20:25:11 +00:00
|
|
|
clean:
|
|
|
|
rm -f $(OBJECTS) $(TARGET)
|
2008-09-13 11:11:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
STATIC = ./../bin/libassimp.a
|
|
|
|
static: $(STATIC)
|
|
|
|
$(STATIC): $(OBJECTS)
|
|
|
|
ar rcs $@ $(OBJECTS)
|
|
|
|
|