2015-01-03 08:20:00 +03:00
|
|
|
SOURCES_BASE = types.rkt reader.rkt printer.rkt
|
2015-02-28 20:09:54 +03:00
|
|
|
SOURCES_LISP = env.rkt core.rkt stepA_mal.rkt
|
2015-01-03 08:20:00 +03:00
|
|
|
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
|
|
|
.PHONY: stats
|
|
|
|
|
|
|
|
stats: $(SOURCES)
|
|
|
|
@wc $^
|
2015-10-27 06:33:49 +03:00
|
|
|
@printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*;|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
|
2015-01-03 08:20:00 +03:00
|
|
|
stats-lisp: $(SOURCES_LISP)
|
|
|
|
@wc $^
|
2015-10-27 06:33:49 +03:00
|
|
|
@printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*;|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
|