diff --git a/makefile b/makefile index 1aed363..983a850 100644 --- a/makefile +++ b/makefile @@ -53,6 +53,12 @@ cpp-clean : rm -vf $(EXE) rm -vf *.o +#-----------------------------------------------------------------------------# +# linter and code check + +check-code: + cppcheck --enable=all -I lib/ src/main.cpp + #-----------------------------------------------------------------------------# # check version consistency of git tags and version string in package.json