Trying to get the bullet re-org to work with Makefiles.
authorChris Want <cwant@ualberta.ca>
Tue, 21 Feb 2006 20:45:20 +0000 (20:45 +0000)
committerChris Want <cwant@ualberta.ca>
Tue, 21 Feb 2006 20:45:20 +0000 (20:45 +0000)
extern/bullet/Bullet/Makefile
extern/bullet/BulletDynamics/Makefile
extern/bullet/Makefile

index eb3710dc6913af7fb2c9896bb914457b9ab11ca7..6c1b4bee26e67c77d90871ef3b70004bb21c00a8 100644 (file)
@@ -38,6 +38,7 @@ DIR = $(OCGDIR)/$(SOURCEDIR)
 CCSRCS  = $(wildcard BroadphaseCollision/*.cpp)
 CCSRCS += $(wildcard NarrowPhaseCollision/*.cpp)
 CCSRCS += $(wildcard CollisionShapes/*.cpp)
+CCSRCS += $(wildcard CollisionDispatch/*.cpp)
 
 CPPFLAGS += -DUSE_DOUBLES -DQHULL -D_LIB
 CPPFLAGS += -I../Bullet -I../BulletDynamics -I../LinearMath
@@ -52,4 +53,4 @@ objdirs:
        @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)BroadphaseCollision
        @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)NarrowPhaseCollision
        @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)CollisionShapes
-
+       @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)CollisionDispatch
index 3d3f9d0714f91956979ba48473e9b9cccbf6cfe0..2d95f1fdd4bed7a15d115e85162c20a55c5abdc3 100644 (file)
@@ -35,7 +35,7 @@ LIBNAME = bulletdyn
 SOURCEDIR = extern/bullet/BulletDynamics
 DIR = $(OCGDIR)/$(SOURCEDIR)
 
-CCSRCS =  $(wildcard CollisionDispatch/*.cpp)
+CCSRCS =  $(wildcard Vehicle/*.cpp)
 CCSRCS += $(wildcard ConstraintSolver/*.cpp)
 CCSRCS += $(wildcard Dynamics/*.cpp)
 
@@ -49,7 +49,7 @@ include nan_compile.mk
 .PHONY: objdirs
 objdirs:
        @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)
-       @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)CollisionDispatch
+       @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)Vehicle
        @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)ConstraintSolver
        @$(MAKE) makedir DIR=$(DIR)/$(DEBUG_DIR)Dynamics
 
index 336c58cab82f81ad04b3f2c595b5c17f222bcff1..793a9606e8c46e38c88913bf247fabe6aa3a8da1 100755 (executable)
@@ -50,6 +50,7 @@ install: all debug
        @[ -d $(NAN_BULLET)/include/Dynamics ] || mkdir $(NAN_BULLET)/include/Dynamics
        @[ -d $(NAN_BULLET)/include/ConstraintSolver ] || mkdir $(NAN_BULLET)/include/ConstraintSolver
        @[ -d $(NAN_BULLET)/include/CollisionDispatch ] || mkdir $(NAN_BULLET)/include/CollisionDispatch
+       @[ -d $(NAN_BULLET)/include/Vehicle ] || mkdir $(NAN_BULLET)/include/Vehicle
        @[ -d $(NAN_BULLET)/lib ] || mkdir $(NAN_BULLET)/lib
        @[ -d $(NAN_BULLET)/lib/debug ] || mkdir $(NAN_BULLET)/lib/debug
        @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh $(DIR)/Bullet/libbullet.a $(NAN_BULLET)/lib/
@@ -65,7 +66,8 @@ endif
        @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh Bullet/CollisionShapes/*.h $(NAN_BULLET)/include/CollisionShapes
        @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh Bullet/BroadphaseCollision/*.h $(NAN_BULLET)/include/BroadphaseCollision
        @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh Bullet/NarrowPhaseCollision/*.h $(NAN_BULLET)/include/NarrowPhaseCollision
+       @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh Bullet/CollisionDispatch/*.h $(NAN_BULLET)/include/CollisionDispatch
        @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh BulletDynamics/Dynamics/*.h $(NAN_BULLET)/include/Dynamics
        @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh BulletDynamics/ConstraintSolver/*.h $(NAN_BULLET)/include/ConstraintSolver
-       @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh BulletDynamics/CollisionDispatch/*.h $(NAN_BULLET)/include/CollisionDispatch
+       @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh BulletDynamics/Vehicle/*.h $(NAN_BULLET)/include/Vehicle
        @$(NANBLENDERHOME)/intern/tools/cpifdiff.sh LinearMath/*.h $(NAN_BULLET)/include