cocos2dx-examples Building: Export COCOS2DX_ROOT to cocos2dx's root source dir Export DEBUG=1 for debug mode. Example on linux: $ cd sprite/proj.linux $ make $ bin/{release,debug}/sprite