Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 TARGETS = lua_level_layer.cpp LuaCocos2dExtensions.cpp | |
| 6 | |
| 7 #HELPER = ../../third_party/cocos2d-x/tools/tolua++/basic.lua | |
|
noelallen1
2013/03/08 21:52:01
What is this? Comment or remove.
Sam Clegg
2013/03/08 22:22:53
Done.
| |
| 8 HELPER = basic.lua | |
| 9 | |
| 10 TOLUA = tolua++5.1 | |
| 11 | |
| 12 all: $(TARGETS) | |
| 13 | |
| 14 lua_level_layer.cpp: level_layer.pkg $(HELPER) | |
| 15 $(TOLUA) -L $(HELPER) -H lua_level_layer.h -o $@ $< | |
| 16 | |
| 17 LuaCocos2dExtensions.cpp: extensions.pkg $(HELPER) | |
| 18 $(TOLUA) -L $(HELPER) -H $(@:.cpp=.h) -o $@ $< | |
| 19 | |
| 20 clean: | |
| 21 rm -f $(TARGETS) | |
| 22 | |
| 23 .PHONY: clean all | |
| OLD | NEW |