Commit | Line | Data |
---|---|---|
f5223195 | 1 | SOURCES_BASE = types.rkt reader.rkt printer.rkt |
90f618cb | 2 | SOURCES_LISP = env.rkt core.rkt stepA_mal.rkt |
f5223195 JM |
3 | SOURCES = $(SOURCES_BASE) $(SOURCES_LISP) |
4 | ||
5 | all: | |
6 | ||
7 | .PHONY: stats | |
8 | ||
9 | stats: $(SOURCES) | |
10 | @wc $^ | |
f15b4021 | 11 | @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*;|^[[:space:]]*$$" $^ | wc` "[comments/blanks]" |
f5223195 JM |
12 | stats-lisp: $(SOURCES_LISP) |
13 | @wc $^ | |
f15b4021 | 14 | @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*;|^[[:space:]]*$$" $^ | wc` "[comments/blanks]" |