1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00

PowerShell: add missing Makefile.

This commit is contained in:
Joel Martin 2016-08-25 11:17:33 -05:00
parent 5e38bc9922
commit e0f8ff4767

15
powershell/Makefile Normal file
View File

@ -0,0 +1,15 @@
SOURCES_BASE = types.psm1 reader.psm1 printer.psm1
SOURCES_LISP = env.psm1 core.psm1 stepA_mal.ps1
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
all:
true
.PHONY: stats
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]"