diff nodejs/Makefile.am @ 544:16f4f8305c8f Android_Skia

Start MadButterfly nodejs plugin
author Thinker K.F. Li <thinker@branda.to>
date Fri, 04 Jun 2010 22:29:26 +0800
parents 7630dac0a104
children 249bcbf07eb0
line wrap: on
line diff
--- a/nodejs/Makefile.am	Fri Jun 04 22:29:08 2010 +0800
+++ b/nodejs/Makefile.am	Fri Jun 04 22:29:26 2010 +0800
@@ -1,1 +1,13 @@
-# empty
+
+mbfly_node_SRCS = hello.cc
+
+all: mbfly.node
+clean: clean-mbfly-node
+
+mbfly.node: wscript $(mbfly_node_SRCS)
+	cd $(srcdir); \
+	WAFLOCK=$(abs_builddir)/.lock-wscript $(NODE_WAF) \
+		configure build --blddir=$(abs_builddir)
+
+clean-mbfly-node:
+	$(NODE_WAF) clean