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