perl6: update/add missing Dockerfile. Stats target.
[jackhill/mal.git] / perl6 / Makefile
1
2 SOURCES_BASE = types.pm reader.pm printer.pm
3 SOURCES_LISP = env.pm core.pm stepA_mal.pl
4 SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
5
6 all:
7 @true
8
9 .PHONY: stats tests $(TESTS)
10
11 stats: $(SOURCES)
12 @wc $^
13 @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*#|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
14 stats-lisp: $(SOURCES_LISP)
15 @wc $^
16 @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*#|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
17
18