diff --git a/Makefile b/Makefile index 079458f5..f4ff3cbb 100644 --- a/Makefile +++ b/Makefile @@ -427,4 +427,4 @@ run-virtualbox-debug: sortix.iso # Statistics .PHONY: linecount linecount: - wc -l `find | grep -E '\.h$$|\.h\+\+$$|\.c$$|\.cpp$$|\.c\+\+$$|\.s$$|\.S$$|\.asm$$|Makefile$$' | grep -v sysroot | grep -v sysroot-overlay | grep -v ports` | sort -n + wc -l `find . -type f | grep -Ev '\.(h|h\+\+|c$$|cpp|c\+\+|s|S|asm|kblayout|mak|sh)$$|(^|/)Makefile$$' | grep -Ev '^\./(\.git|sysroot|sysroot-overlay|ports|repository)(/|$$)'` | sort -n