mirror of https://github.com/djcb/mu.git
* Makefile.am: extend pmccabe test to c++ sources
This commit is contained in:
parent
6f48dbed79
commit
1497440a19
|
@ -17,8 +17,8 @@
|
|||
SUBDIRS=src
|
||||
|
||||
# calculate the cyclomatic-complexity, which should not go over 10
|
||||
cc10:
|
||||
@pmccabe `find -name '*.c'` | sort -nr | awk '($$1 > 10)'
|
||||
#cc10:
|
||||
# @pmccabe `find . -regex '.*\.\(c\|cc\|h\)$'` | sort -nr | awk '($$1 > 10)'
|
||||
|
||||
EXTRA_DIST= \
|
||||
TODO \
|
||||
|
|
Loading…
Reference in New Issue