mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 02:27:10 +03:00
bcfd8b7020
Also add missing clean rules for julia and matlab and fix perl clean rule.
18 lines
452 B
Makefile
18 lines
452 B
Makefile
|
|
SOURCES_BASE = reader.jl printer.jl readline_mod.jl types.jl
|
|
SOURCES_LISP = env.jl core.jl stepA_mal.jl
|
|
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]"
|