make sure aligned structures/classes use the btAlignedAlloc/btAlignedFree, by overriding the operator new/delete for that struct/class.

integrated some contributions from IBM Germany for libspe2
This commit is contained in:
ejcoumans
2007-09-25 06:41:57 +00:00
parent 12e2a5c57c
commit a38de566c6
42 changed files with 1859 additions and 1814 deletions

View File

@@ -1,44 +1,44 @@
#### Source code Dirs
VPATH = \
../ConstraintSolver \
../Dynamics \
../Vehicle
ROOT = ../../..
#### Library
LIBRARY_ppu = bulletdynamics.a
#### Compiler flags
CPPFLAGS = \
-I../ConstraintSolver \
-I../Dynamics \
-I../Vehicle \
-I$(ROOT)/src \
-I$(SDKINC)
#### Optimization level flags
#CC_OPT_LEVEL = $(CC_OPT_LEVEL_DEBUG)
CC_OPT_LEVEL = -O3
##### Objects to be archived in lib
OBJS = \
btContactConstraint.o \
btGeneric6DofConstraint.o \
btHingeConstraint.o \
btPoint2PointConstraint.o \
btSequentialImpulseConstraintSolver.o \
btSolve2LinearConstraint.o \
btTypedConstraint.o \
btDiscreteDynamicsWorld.o \
btRigidBody.o \
btSimpleDynamicsWorld.o \
btRaycastVehicle.o \
btWheelInfo.o
#### Install directories
INSTALL_DIR = $(ROOT)/lib/ibmsdk
INSTALL_FILES = $(LIBRARY_ppu)
CELL_TOP ?= /opt/ibm/cell-sdk/prototype
include $(CELL_TOP)/make.footer
#### Source code Dirs
VPATH = \
../ConstraintSolver \
../Dynamics \
../Vehicle
ROOT = ../../..
#### Library
LIBRARY_ppu = bulletdynamics.a
#### Compiler flags
CPPFLAGS = \
-I../ConstraintSolver \
-I../Dynamics \
-I../Vehicle \
-I$(ROOT)/src \
-I$(SDKINC)
#### Optimization level flags
#CC_OPT_LEVEL = $(CC_OPT_LEVEL_DEBUG)
CC_OPT_LEVEL = -O3
##### Objects to be archived in lib
OBJS = \
btContactConstraint.o \
btGeneric6DofConstraint.o \
btHingeConstraint.o \
btPoint2PointConstraint.o \
btSequentialImpulseConstraintSolver.o \
btSolve2LinearConstraint.o \
btTypedConstraint.o \
btDiscreteDynamicsWorld.o \
btRigidBody.o \
btSimpleDynamicsWorld.o \
btRaycastVehicle.o \
btWheelInfo.o
#### Install directories
INSTALL_DIR = $(ROOT)/lib/ibmsdk
INSTALL_FILES = $(LIBRARY_ppu)
CELL_TOP ?= /opt/ibm/cell-sdk/prototype
include $(CELL_TOP)/make.footer