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