aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'ruby')
-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; \