From 57c7f6021bbfb7c456a4d58e2e08724e64113831 Mon Sep 17 00:00:00 2001 From: Mario Fink Date: Wed, 5 May 2021 15:58:10 +0200 Subject: [PATCH] makefile: cppcheck target --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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