Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: nacltoons/bindings/Makefile

Issue 12634010: [nacltoons] Add Makefile for building lua bindings. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698