aboutsummaryrefslogtreecommitdiff
path: root/ruby/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-14 23:04:48 -0500
committerJoel Martin <github@martintribe.org>2014-04-14 23:04:48 -0500
commita2849f89e7892feee256169398b1d2d82a2b8231 (patch)
treeb0e83dad80af83ba6529502b36b91c7d761d2342 /ruby/Makefile
parent166398b84f0ada81ca25db201b1dad895d0acde1 (diff)
downloadmal-a2849f89e7892feee256169398b1d2d82a2b8231.tar.gz
mal-a2849f89e7892feee256169398b1d2d82a2b8231.zip
Mal space cleanup. Ruby Makefile. TODO updates.
Diffstat (limited to 'ruby/Makefile')
-rw-r--r--ruby/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/ruby/Makefile b/ruby/Makefile
new file mode 100644
index 0000000..bfaa826
--- /dev/null
+++ b/ruby/Makefile
@@ -0,0 +1,20 @@
+TESTS =
+
+SOURCES_BASE = types.rb reader.rb printer.rb
+SOURCES_LISP = env.rb core.rb stepA_more.rb
+SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
+
+#all: mal.rb
+
+.PHONY: stats tests $(TESTS)
+
+stats: $(SOURCES)
+ @wc $^
+stats-lisp: $(SOURCES_LISP)
+ @wc $^
+
+tests: $(TESTS)
+
+$(TESTS):
+ @echo "Running $@"; \
+ ruby $@ || exit 1; \