changed name to listL120

This commit is contained in:
Yann Collet 2017-10-09 13:22:16 -07:00
parent e15d8bf3b7
commit 5d07b7f13c

View File

@ -196,7 +196,7 @@ preview-man: clean-man man
test-all: clean all namespaceTest test test32 test-xxhsum-c clean-xxhsum-c \
armtest clangtest gpptest c90test test-mem usan staticAnalyze
.PHONY: checkL120
.PHONY: listL120
listL120: # extract lines >= 120 characters in *.{c,h}, by Takayuki Matsuoka (note : $$, for Makefile compatibility)
find . -type f -name '*.c' -o -name '*.h' | while read -r filename; do awk 'length > 120 {print FILENAME "(" FNR "): " $$0}' $$filename; done