commit 39d6a2a617802eb48a0737d261bc490411e9cbd1 parent d4e8b620bb665bbe2daad219d12540500d86a54b Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Jun 4 21:41:59 +0100 Better linting Diffstat:
rules.mk | | | 3 | ++- |
diff --git a/rules.mk b/rules.mk @@ -43,8 +43,9 @@ lint: -disable-rule=UnusedLocalVariable \ -disable-rule=UselessParentheses \ -disable-rule=ParameterReassignment \ + -enable-global-analysis \ -rc LONG_LINE=150 \ -rc LONG_VARIABLE_NAME=50 \ - *.cc -- $(CXXFLAGS) + $(shell find -name "*.cc" -not -name "stb*" -not -name "opengl*") -- $(CXXFLAGS) -include .deps/*.d