axmol/build/Makefile

92 lines
2.4 KiB
Makefile
Raw Normal View History

PLATFORM ?= linux
2013-08-01 21:22:52 +08:00
all:
chipmunk:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../external/chipmunk/proj.$(PLATFORM)
2013-08-01 21:22:52 +08:00
chipmunk-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../external/chipmunk/proj.$(PLATFORM) clean
2013-08-01 21:22:52 +08:00
box2d:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../external/Box2D/proj.$(PLATFORM)
2013-08-01 21:22:52 +08:00
box2d-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../external/Box2D/proj.$(PLATFORM) clean
2013-08-01 21:22:52 +08:00
2013-10-22 18:01:56 +08:00
cocos2dx: chipmunk
$(MAKE) -C ../cocos/2d
cocos2dx-clean:
$(MAKE) -C ../cocos/2d clean
2013-08-01 21:22:52 +08:00
2013-10-22 18:01:56 +08:00
audio: cocos2dx
$(MAKE) -C ../cocos/audio/proj.$(PLATFORM)
audio-clean:
$(MAKE) -C ../cocos/audio/proj.$(PLATFORM) clean
2013-08-01 21:22:52 +08:00
2013-10-22 18:01:56 +08:00
gui:
$(MAKE) -C ../cocos/gui
gui-clean:
$(MAKE) -C ../cocos/gui clean
2013-08-01 21:22:52 +08:00
2013-10-22 18:01:56 +08:00
network: cocos2dx
$(MAKE) -C ../cocos/network
network-clean:
$(MAKE) -C ../cocos/network clean
cocosbuilder:
$(MAKE) -C ../cocos/editor-support/cocosbuilder
cocosbuilder-clean:
$(MAKE) -C ../cocos/editor-support/cocosbuilder clean
spine:
$(MAKE) -C ../cocos/editor-support/spine
spine-clean:
$(MAKE) -C ../cocos/editor-support/spine clean
cocostudio:
$(MAKE) -C ../cocos/editor-support/cocostudio
cocostudio-clean:
$(MAKE) -C ../cocos/editor-support/cocostudio clean
extensions: chipmunk audio box2d
$(MAKE) -C ../extensions/proj.$(PLATFORM)
extensions-clean:
$(MAKE) -C ../extensions/proj.$(PLATFORM) clean
lua: extensions cocosbuilder cocostudio
$(MAKE) -C ../cocos/scripting/lua/bindings
2013-08-01 21:22:52 +08:00
lua-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../cocos/scripting/lua/bindings clean
2013-08-01 21:22:52 +08:00
2013-10-22 18:01:56 +08:00
hellocpp: cocos2dx
$(MAKE) -C ../samples/Cpp/HelloCpp/proj.$(PLATFORM)
2013-08-01 21:22:52 +08:00
hellocpp-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../samples/Cpp/HelloCpp/proj.$(PLATFORM) clean
2013-08-01 21:22:52 +08:00
2013-10-22 18:01:56 +08:00
testcpp: cocos2dx audio extensions cocostudio gui cocosbuilder spine network
$(MAKE) -C ../samples/Cpp/TestCpp/proj.$(PLATFORM)
2013-08-01 21:22:52 +08:00
testcpp-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../samples/Cpp/TestCpp/proj.$(PLATFORM) clean
2013-08-01 21:22:52 +08:00
2013-10-22 18:01:56 +08:00
simplegame: cocos2dx audio
$(MAKE) -C ../samples/Cpp/SimpleGame/proj.$(PLATFORM)
2013-08-01 21:22:52 +08:00
simplegame-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../samples/Cpp/SimpleGame/proj.$(PLATFORM) clean
2013-10-22 18:01:56 +08:00
all: chipmunk audio extensions cocos2dx lua hellocpp testcpp simplegame
clean: cocos2dx-clean box2d-clean chipmunk-clean audio-clean extensions-clean lua-clean hellocpp-clean testcpp-clean simplegame-clean
2013-10-22 18:01:56 +08:00
hellolua: cocos2dx lua
$(MAKE) -C ../samples/Lua/HelloLua/proj.$(PLATFORM)
2013-08-01 21:22:52 +08:00
hellolua-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../samples/Lua/HelloLua/proj.$(PLATFORM) clean
2013-10-22 18:01:56 +08:00
testlua: cocos2dx lua
$(MAKE) -C ../samples/Lua/TestLua/proj.$(PLATFORM)
2013-08-01 21:22:52 +08:00
testlua-clean:
2013-10-22 18:01:56 +08:00
$(MAKE) -C ../samples/Lua/TestLua/proj.$(PLATFORM) clean
2013-08-01 21:22:52 +08:00
all: hellolua testlua
clean: hellolua-clean testlua-clean
.PHONY: all clean