linecount counts more dirs than just src/
authorJeff Donahue <jeff.donahue@gmail.com>
Mon, 8 Sep 2014 08:42:55 +0000 (10:42 +0200)
committerJeff Donahue <jeff.donahue@gmail.com>
Mon, 8 Sep 2014 08:42:55 +0000 (10:42 +0200)
Makefile

index 546de93..436a300 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -330,7 +330,9 @@ all: $(NAME) $(STATIC_NAME) tools examples
 everything: all py$(PROJECT) mat$(PROJECT) test warn lint runtest
 
 linecount:
-       cloc --read-lang-def=$(PROJECT).cloc src/$(PROJECT)/
+       cloc --read-lang-def=$(PROJECT).cloc \
+               src/$(PROJECT) include/$(PROJECT) tools examples \
+               python matlab
 
 lint: $(EMPTY_LINT_REPORT)