makefile: cppcheck target

This commit is contained in:
Mario Fink 2021-05-05 15:58:10 +02:00
parent 83922c343f
commit 57c7f6021b

View File

@ -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