Skip to content
Snippets Groups Projects
  • Niklas Haas's avatar
    contrib: generalize cppcheck to take source code · 3d04025e
    Niklas Haas authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    Instead of piping in /dev/null, take the code to pipe from $(2). This
    does not regress the existing usages, as passing an empty variable
    expands to an empty file.
    
    This allows it to take an extra include statement, or even a more
    complicated preprocessor check.
    3d04025e
main.mak 20.47 KiB