Are there any lint checkers for makefiles?

msakya picture msakya · Apr 3, 2014 · Viewed 11.7k times · Source

I know there are many linters for programming languages, like pep8 for python, but I have never come across one for a makefile. Are there any such linters for makefiles?

As I have grown into using a makefile, it keeps on getting more complicated and long, and for me it would make sense to have a linter to keep the makefile more readable.

Answer

pjz picture pjz · Nov 14, 2018

Things have apparently changed. I found the following:

Of the two, Checkmake has (as of 2018/11) more recent development, but I haven't tried either.