OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # | 5 # |
6 # GNU Make based build file. For details on GNU Make see: | 6 # GNU Make based build file. For details on GNU Make see: |
7 # http://www.gnu.org/software/make/manual/make.html | 7 # http://www.gnu.org/software/make/manual/make.html |
8 # | 8 # |
9 # | 9 # |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 # | 28 # |
29 TARGET := nacltoons | 29 TARGET := nacltoons |
30 | 30 |
31 COCOS_ROOT = ../third_party/cocos2d-x | 31 COCOS_ROOT = ../third_party/cocos2d-x |
32 LUA_YAML_ROOT = ../third_party/lua-yaml | 32 LUA_YAML_ROOT = ../third_party/lua-yaml |
33 | 33 |
34 # | 34 # |
35 # List of sources to compile | 35 # List of sources to compile |
36 # | 36 # |
37 SOURCES := main.cc \ | 37 SOURCES := main.cc \ |
38 » ../src/app_delegate.cc \ | 38 ../src/app_delegate.cc \ |
39 » ../src/game_manager.cc \ | 39 ../src/game_manager.cc \ |
40 » ../src/level_layer.cc \ | 40 ../src/level_layer.cc \ |
41 » ../bindings/LuaBox2D.cpp \ | 41 ../bindings/LuaBox2D.cpp \ |
42 » ../bindings/lua_level_layer.cpp \ | 42 ../bindings/lua_level_layer.cpp \ |
43 » ../bindings/LuaCocos2dExtensions.cpp \ | 43 ../bindings/LuaCocos2dExtensions.cpp \ |
44 » $(COCOS_ROOT)/samples/Cpp/TestCpp/Classes/Box2DTestBed/GLES-Render.cp
p \ | 44 $(COCOS_ROOT)/samples/Cpp/TestCpp/Classes/Box2DTestBed/GLES-Render.cpp \ |
45 » $(COCOS_ROOT)/extensions/physics_nodes/CCPhysicsDebugNode.cpp \ | 45 $(COCOS_ROOT)/extensions/physics_nodes/CCPhysicsDebugNode.cpp \ |
46 » $(COCOS_ROOT)/extensions/physics_nodes/CCPhysicsSprite.cpp \ | 46 $(COCOS_ROOT)/extensions/physics_nodes/CCPhysicsSprite.cpp \ |
47 » $(COCOS_ROOT)/scripting/lua/cocos2dx_support/CCLuaEngine.cpp \ | 47 $(COCOS_ROOT)/extensions/physics_nodes/CCPhysicsNode.cpp \ |
48 » $(COCOS_ROOT)/scripting/lua/cocos2dx_support/CCLuaStack.cpp \ | 48 $(COCOS_ROOT)/scripting/lua/cocos2dx_support/CCLuaEngine.cpp \ |
49 » $(COCOS_ROOT)/scripting/lua/cocos2dx_support/Cocos2dxLuaLoader.cpp \ | 49 $(COCOS_ROOT)/scripting/lua/cocos2dx_support/CCLuaStack.cpp \ |
50 » $(COCOS_ROOT)/scripting/lua/cocos2dx_support/LuaCocos2d.cpp \ | 50 $(COCOS_ROOT)/scripting/lua/cocos2dx_support/Cocos2dxLuaLoader.cpp \ |
51 » $(COCOS_ROOT)/scripting/lua/cocos2dx_support/tolua_fix.c \ | 51 $(COCOS_ROOT)/scripting/lua/cocos2dx_support/LuaCocos2d.cpp \ |
| 52 $(COCOS_ROOT)/scripting/lua/cocos2dx_support/tolua_fix.c \ |
52 | 53 |
53 PAGE := index.html | 54 PAGE := index.html |
54 | 55 |
55 # | 56 # |
56 # Get pepper directory for toolchain and includes. | 57 # Get pepper directory for toolchain and includes. |
57 # | 58 # |
58 # If NACL_SDK_ROOT is not set, then assume it can be found relative to | 59 # If NACL_SDK_ROOT is not set, then assume it can be found relative to |
59 # to this Makefile. | 60 # to this Makefile. |
60 # | 61 # |
61 ifndef NACL_SDK_ROOT | 62 ifndef NACL_SDK_ROOT |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/libcocos2d.a \ | 169 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/libcocos2d.a \ |
169 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/liblua.a \ | 170 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/liblua.a \ |
170 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/libbox2d.a \ | 171 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/libbox2d.a \ |
171 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/liblua-yaml.a | 172 $(OUTBASE)/lib/$(TOOLCHAIN)_arm/$(CONFIG)/liblua-yaml.a |
172 | 173 |
173 $(OUTDIR)/$(TARGET)_x86_32.nexe: \ | 174 $(OUTDIR)/$(TARGET)_x86_32.nexe: \ |
174 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/libcocos2d.a \ | 175 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/libcocos2d.a \ |
175 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/liblua.a \ | 176 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/liblua.a \ |
176 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/libbox2d.a \ | 177 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/libbox2d.a \ |
177 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/liblua-yaml.a | 178 $(OUTBASE)/lib/$(TOOLCHAIN)_x86_32/$(CONFIG)/liblua-yaml.a |
OLD | NEW |