2013-04-04 09:27:31 +08:00
|
|
|
PLATFORM = emscripten
|
2013-03-03 10:30:39 +08:00
|
|
|
|
|
|
|
define MAKE_TARGET
|
|
|
|
+$(MAKE) -C external/chipmunk/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C external/Box2D/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C CocosDenshion/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C extensions/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C cocos2dx/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C scripting/lua/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C samples/Cpp/HelloCpp/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C samples/Cpp/TestCpp/proj.$(PLATFORM) $@
|
2013-03-09 02:00:21 +08:00
|
|
|
+$(MAKE) -C samples/Cpp/SimpleGame/proj.$(PLATFORM) $@
|
2013-03-03 10:30:39 +08:00
|
|
|
+$(MAKE) -C samples/Lua/HelloLua/proj.$(PLATFORM) $@
|
|
|
|
+$(MAKE) -C samples/Lua/TestLua/proj.$(PLATFORM) $@
|
|
|
|
endef
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(call MAKE_TARGET,all)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(call MAKE_TARGET,clean)
|
|
|
|
|
|
|
|
.PHONY: all clean
|