Commit 84f264c6fa2b2435aa1171412f68d81356206f83
1 parent
17d11ab2
add make target to measure lines of code
Showing
1 changed file
with
3 additions
and
0 deletions
... | ... | @@ -75,6 +75,9 @@ endif |
75 | 75 | tags: |
76 | 76 | ctags -R -V --langdef=cclass --langmap=cclass:.h --regex-cclass='/^[ \t]*CLASS\(([a-zA-Z0-9_]+)/\1/d,definition/' |
77 | 77 | |
78 | +loc: | |
79 | + find src/ include/ -not -path testers -and -name "*.[ch]" -exec sed '/\/\*/,/\*\//d;/\/\//d' {} \; | wc -l | |
80 | + | |
78 | 81 | TR_DIRS = $(DESTDIR)/$(trdatadir)/assets/doc \ |
79 | 82 | $(DESTDIR)/$(trdatadir)/assets/html/doc \ |
80 | 83 | $(DESTDIR)/$(trdatadir)/assets/coverage \ | ... | ... |
Please
register
or
login
to post a comment