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 = tolua_preload.lua | |
| 8 | |
| 9 TOLUA = tolua++5.1 | |
| 10 | |
| 11 all: $(TARGETS) | |
| 12 | |
| 13 lua_level_layer.cpp: level_layer.pkg $(HELPER) post_process.py | |
| 14 $(TOLUA) -L $(HELPER) -H lua_level_layer.h -o $@ $< | |
| 15 ./post_process.py $@ | |
| 16 | |
| 17 LuaCocos2dExtensions.cpp: extensions.pkg $(HELPER) post_process.py | |
| 18 $(TOLUA) -L $(HELPER) -H $(@:.cpp=.h) -o $@ $< | |
| 19 ./post_process.py $@ | |
| 20 | |
| 21 clean: | |
| 22 rm -f $(TARGETS) | |
| 23 | |
| 24 .PHONY: clean all | |
| OLD | NEW |