| 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 |
| 11 NACLPORTS_STAMP=out/naclports.stamp | 11 NACLPORTS_STAMP=out/naclports.stamp |
| 12 COCOS2DX_STAMP=out/cocos2dx.stamp | 12 COCOS2DX_STAMP=out/cocos2dx.stamp |
| 13 | 13 |
| 14 all: $(NACLPORTS_STAMP) $(COCOS2DX_STAMP) | 14 all: $(NACLPORTS_STAMP) $(COCOS2DX_STAMP) |
| 15 $(MAKE) -f game.mk | 15 $(MAKE) -f game.mk |
| 16 | 16 |
| 17 naclports $(NACLPORTS_STAMP): build/build-naclports.sh | 17 naclports $(NACLPORTS_STAMP): build/build-naclports.sh |
| 18 build/build-naclports.sh | 18 build/build-naclports.sh |
| 19 touch $(NACLPORTS_STAMP) | 19 touch $(NACLPORTS_STAMP) |
| 20 | 20 |
| 21 cocos2dx $(COCOS2DX_STAMP): build/build-cocos2dx.sh | 21 cocos2dx $(COCOS2DX_STAMP): $(NACLPORTS_STAMP) build/build-cocos2dx.sh |
| 22 build/build-cocos2dx.sh | 22 build/build-cocos2dx.sh |
| 23 touch $(COCOS2DX_STAMP) | 23 touch $(COCOS2DX_STAMP) |
| 24 | 24 |
| 25 clean: | 25 clean: |
| 26 $(MAKE) -f game.mk clean | 26 $(MAKE) -f game.mk clean |
| 27 $(RM) $(NACLPORTS_STAMP) $(COCOS2DX_STAMP) | 27 $(RM) $(NACLPORTS_STAMP) $(COCOS2DX_STAMP) |
| OLD | NEW |