issue #2103 modify some compile setup

This commit is contained in:
samuele3hu 2013-06-03 18:14:06 +08:00
parent 9352b60653
commit 23eec2f1ce
2 changed files with 7 additions and 12 deletions

View File

@ -14,6 +14,11 @@ INCLUDES = -I.. \
SOURCES = main.cpp \ SOURCES = main.cpp \
../Classes/AppDelegate.cpp \ ../Classes/AppDelegate.cpp \
$(COCOS_ROOT)/scripting/lua/cocos2dx_support/CCLuaEngine.cpp \
$(COCOS_ROOT)/scripting/lua/cocos2dx_support/CCLuaStack.cpp \
$(COCOS_ROOT)/scripting/lua/cocos2dx_support/Cocos2dxLuaLoader.cpp \
$(COCOS_ROOT)/scripting/lua/cocos2dx_support/LuaCocos2d.cpp \
$(COCOS_ROOT)/scripting/lua/cocos2dx_support/tolua_fix.c
include $(COCOS2DX_PATH)/../extensions/proj.nacl/Makefile include $(COCOS2DX_PATH)/../extensions/proj.nacl/Makefile
SOURCES += $(addprefix $(COCOS_ROOT)/extensions/, $(EXTENSIONS_SOURCES)) SOURCES += $(addprefix $(COCOS_ROOT)/extensions/, $(EXTENSIONS_SOURCES))

View File

@ -1,5 +1,4 @@
INCLUDES += -I.. -I../lua -I../tolua \ INCLUDES = -I.. -I../lua -I../../../extensions -I../../../external/chipmunk/include/chipmunk
-I../Classes -I../../../CocosDenshion/include -I../../../extensions -I../../../external/chipmunk/include/chipmunk
SOURCES = ../lua/lapi.c \ SOURCES = ../lua/lapi.c \
../lua/lauxlib.c \ ../lua/lauxlib.c \
@ -35,16 +34,7 @@ SOURCES = ../lua/lapi.c \
../tolua/tolua_is.c \ ../tolua/tolua_is.c \
../tolua/tolua_map.c \ ../tolua/tolua_map.c \
../tolua/tolua_push.c \ ../tolua/tolua_push.c \
../tolua/tolua_to.c \ ../tolua/tolua_to.c
../cocos2dx_support/tolua_fix.c \
../cocos2dx_support/CCLuaBridge.cpp \
../cocos2dx_support/CCLuaEngine.cpp \
../cocos2dx_support/CCLuaStack.cpp \
../cocos2dx_support/CCLuaValue.cpp \
../cocos2dx_support/Cocos2dxLuaLoader.cpp \
../cocos2dx_support/LuaCocos2d.cpp \
../cocos2dx_support/CCBProxy.cpp \
../cocos2dx_support/Lua_extensions_CCB.cpp \
COCOS_ROOT = ../../.. COCOS_ROOT = ../../..