From e10b9000184715521a1c92561d76386ced2919de Mon Sep 17 00:00:00 2001 From: Dave Parker Date: Thu, 3 Dec 2015 22:39:16 +0000 Subject: [PATCH] Add Makefile target "count_loc" to display a count of lines of code. git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10979 bbc10eb1-c90d-0410-af57-cb519fbb1720 --- prism/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prism/Makefile b/prism/Makefile index e8a5b874..07a9a937 100644 --- a/prism/Makefile +++ b/prism/Makefile @@ -516,6 +516,9 @@ tarcf: echo Building tar file "../"$$TARCF_DIR".tar.gz" && \ (cd ..; tar cfz $$TARCF_DIR".tar.gz" $$TARCF_DIR) +count_loc: + find $(SRC_DIR) -name '*.java' -o -name '*.cc' | xargs wc -l + PRISM_CLASSPATH = "$(CLASSES_DIR)$(CLASSPATHSEP)$(LIB_DIR)/*" javadoc: