diff --git a/cocos2dx/proj.linux/Makefile b/cocos2dx/proj.linux/Makefile index dc539d17ec..556dc75627 100644 --- a/cocos2dx/proj.linux/Makefile +++ b/cocos2dx/proj.linux/Makefile @@ -74,6 +74,11 @@ SOURCES = ../actions/CCAction.cpp \ ../particle_nodes/CCParticleSystem.cpp \ ../particle_nodes/CCParticleSystemQuad.cpp \ ../particle_nodes/CCParticleBatchNode.cpp \ +../physics/CCPhysicsBody.cpp \ +../physics/CCPhysicsContactDelegate.cpp \ +../physics/CCPhysicsFixture.cpp \ +../physics/CCPhysicsJoint.cpp \ +../physics/CCPhysicsWorld.cpp \ ../platform/CCSAXParser.cpp \ ../platform/CCThread.cpp \ ../platform/CCEGLViewProtocol.cpp \ diff --git a/cocos2dx/sprite_nodes/CCSprite.cpp b/cocos2dx/sprite_nodes/CCSprite.cpp index 0d75e93348..ed8f0460c3 100644 --- a/cocos2dx/sprite_nodes/CCSprite.cpp +++ b/cocos2dx/sprite_nodes/CCSprite.cpp @@ -44,8 +44,6 @@ THE SOFTWARE. #include "cocoa/CCAffineTransform.h" #include "support/TransformUtils.h" #include "support/CCProfiling.h" -#include "physics/CCPhysicsBody.h" -#include "physics/CCPhysicsWorld.h" // external #include "kazmath/GL/matrix.h"