diff fft/fft.js/Makefile @ 25:66f9fd5ac611

Bring in some more of the third-party code
author Chris Cannam
date Wed, 07 Oct 2015 13:46:38 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fft/fft.js/Makefile	Wed Oct 07 13:46:38 2015 +0100
@@ -0,0 +1,18 @@
+TARGETS := lib/complex.js lib/node.erb.js lib/node.js
+
+all: $(TARGETS)
+node: lib/node.js
+
+lib/complex.js: src/complex.erb.js
+	erb $^ > $@
+
+lib/node.erb.js: src/node.erb.js
+	erb $^ > $@
+
+lib/node.js: lib/node.erb.js
+	erb $^ > $@
+
+clean:
+	rm -rf $(TARGETS)
+
+.PHONY: all clean