mirror of
https://github.com/kanaka/mal.git
synced 2024-10-27 06:40:14 +03:00
17 lines
449 B
Makefile
17 lines
449 B
Makefile
all:
|
|
@true
|
|
|
|
SOURCES_BASE = types.dart reader.dart printer.dart
|
|
SOURCES_LISP = env.dart core.dart stepA_mal.dart
|
|
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
|
|
|
|
.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]"
|
|
|