All: fix read/print of \\, and \n
[jackhill/mal.git] / julia / Makefile
1
2 SOURCES_BASE = reader.jl printer.jl readline_mod.jl types.jl
3 SOURCES_LISP = env.jl core.jl stepA_mal.jl
4 SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
5
6 all:
7
8 .PHONY: stats tests $(TESTS)
9
10 stats: $(SOURCES)
11 @wc $^
12 @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*#|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
13 stats-lisp: $(SOURCES_LISP)
14 @wc $^
15 @printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*#|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"