Commit | Line | Data |
---|---|---|
7c56c6a5 | 1 | SOURCES_BASE = type_utils.m Dict.m types/Nil.m types/MalException.m \ |
0b234e13 JM |
2 | types/Symbol.m types/List.m types/Vector.m \ |
3 | types/HashMap.m types/Function.m types/Atom.m \ | |
294aba2c | 4 | types/Reader.m reader.m printer.m |
90f618cb | 5 | SOURCES_LISP = Env.m core.m stepA_mal.m |
9a54ea18 JM |
6 | SOURCES = $(SOURCES_BASE) $(SOURCES_LISP) |
7 | ||
7c56c6a5 | 8 | all: |
9a54ea18 | 9 | |
bcfd8b70 JM |
10 | clean: |
11 | ||
9a54ea18 JM |
12 | .PHONY: stats tests $(TESTS) |
13 | ||
14 | stats: $(SOURCES) | |
15 | @wc $^ | |
f15b4021 | 16 | @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*%|^[[:space:]]*$$" $^ | wc` "[comments/blanks]" |
9a54ea18 JM |
17 | |
18 | stats-lisp: $(SOURCES_LISP) | |
19 | @wc $^ | |
f15b4021 | 20 | @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*%|^[[:space:]]*$$" $^ | wc` "[comments/blanks]" |