From e78390d9c2e2f0d52809ef23c2231376cd9b2cff Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 7 Aug 2011 03:02:37 +0200 Subject: [PATCH] Added a line counting make target for statistics. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 75c34cf1..d707aff1 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,10 @@ cleanbuilds: everything: all deb iso jssortix +# Statistics +linecount: + wc -l `find | grep -E '\.h$$|\.c$$|\.cpp$$|\.s$$|\.asm$$|Makefile$$'` | sort -n + # Local machine install: all