Commit | Line | Data |
---|---|---|
a2849f89 JM |
1 | TESTS = |
2 | ||
718887c3 | 3 | SOURCES_BASE = mal_readline.rb types.rb reader.rb printer.rb |
90f618cb | 4 | SOURCES_LISP = env.rb core.rb stepA_mal.rb |
a2849f89 JM |
5 | SOURCES = $(SOURCES_BASE) $(SOURCES_LISP) |
6 | ||
7 | #all: mal.rb | |
8 | ||
9 | .PHONY: stats tests $(TESTS) | |
10 | ||
11 | stats: $(SOURCES) | |
12 | @wc $^ | |
13 | stats-lisp: $(SOURCES_LISP) | |
14 | @wc $^ | |
15 | ||
16 | tests: $(TESTS) | |
17 | ||
18 | $(TESTS): | |
19 | @echo "Running $@"; \ | |
20 | ruby $@ || exit 1; \ |