1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-09 18:06:35 +03:00
mal/chuck/Makefile
Vasilij Schneidermann 77a1e7d9ba Add basic Makefile
2016-08-09 20:45:33 +02:00

19 lines
540 B
Makefile

SOURCES_BASE = readline.ck reader.ck printer.ck \
types/MalObject.ck types/MalSubr.ck \
types/**/*.ck util/*.ck
SOURCES_LISP = env.ck core.ck stepA_mal.ck
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
all:
clean:
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]"
.PHONY: all clean stats stats-lisp