X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/16e8fe9878944f7bcd69cb6e6636ba8b9c574ab9..e9bf4bc84e66fa86d804ad1dbdede9bbd83c7a44:/Maintenance/makefile diff --git a/Maintenance/makefile b/Maintenance/makefile index a0a19bcd5..974fa91c8 100644 --- a/Maintenance/makefile +++ b/Maintenance/makefile @@ -14,6 +14,10 @@ LUFA_ROOT := ../ all: +# Print a list of all filenames and line numbers that exceed an allowed threshold +line-lengths: + awk '{ if (length > 120) { print FILENAME, ":", FNR, "[", length, "]" } }' `find $(LUFA_ROOT) -name *.[ch]` + # Generate a header containing all library functions function-list: $(MAKE) -C $(patsubst %/,%,$(LUFA_ROOT))/LUFA doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_HTML=no GENERATE_XML=yes"