update misc
[jackhill/mal.git] / matlab / Makefile
CommitLineData
7c56c6a5 1SOURCES_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 5SOURCES_LISP = Env.m core.m stepA_mal.m
9a54ea18
JM
6SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
7
7c56c6a5 8all:
9a54ea18 9
bcfd8b70
JM
10clean:
11
9a54ea18
JM
12.PHONY: stats tests $(TESTS)
13
14stats: $(SOURCES)
15 @wc $^
f15b4021 16 @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*%|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
9a54ea18
JM
17
18stats-lisp: $(SOURCES_LISP)
19 @wc $^
f15b4021 20 @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*%|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"