1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 10:07:45 +03:00
mal/elisp/Makefile
Vasilij Schneidermann e987ce073e Add Makefile
2016-03-02 01:15:20 +01:00

18 lines
444 B
Makefile

SOURCES_BASE = reader.el printer.el types.el
SOURCES_LISP = env.el func.el core.el stepA_mal.el
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
all:
clean:
.PHONY: stats tests $(TESTS)
stats: $(SOURCES)
@wc $^
@printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*;|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"
stats-lisp: $(SOURCES_LISP)
@wc $^
@printf "%5s %5s %5s %s\n" `grep -E "^[[:space:]]*;|^[[:space:]]*$$" $^ | wc` "[comments/blanks]"