Clean up cppcheck cleanup a bit ‒ call it at a whole project at once instead on file by file (allowing it to do more global analysis).
Migrate the cppcheck targets into the build system. Please review the corresponding commits as well:
- https://gitlab.labs.nic.cz/turris/buildsystem/commit/e12ec9cd21d5e02c5979142b406ca151efa53bb2
- https://gitlab.labs.nic.cz/turris/buildsystem/commit/c1277c90191c0a77e219316688941711e2366754
- https://gitlab.labs.nic.cz/turris/buildsystem/commit/37ed327ffa68a2b413c06cc08e73490b07ff91aa
Clean up the Makefile.dir
a bit to gain more readability.