Index: nacltoons/bindings/Makefile |
diff --git a/nacltoons/bindings/Makefile b/nacltoons/bindings/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..04aad9c6c02963c8964744cf4f88dd85a1ed7626 |
--- /dev/null |
+++ b/nacltoons/bindings/Makefile |
@@ -0,0 +1,23 @@ |
+# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+TARGETS = lua_level_layer.cpp LuaCocos2dExtensions.cpp |
+ |
+#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.
|
+HELPER = basic.lua |
+ |
+TOLUA = tolua++5.1 |
+ |
+all: $(TARGETS) |
+ |
+lua_level_layer.cpp: level_layer.pkg $(HELPER) |
+ $(TOLUA) -L $(HELPER) -H lua_level_layer.h -o $@ $< |
+ |
+LuaCocos2dExtensions.cpp: extensions.pkg $(HELPER) |
+ $(TOLUA) -L $(HELPER) -H $(@:.cpp=.h) -o $@ $< |
+ |
+clean: |
+ rm -f $(TARGETS) |
+ |
+.PHONY: clean all |