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

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 = 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698