diff --git a/Makefile b/Makefile index 158a3c2223a..daf2993d50e 100644 --- a/Makefile +++ b/Makefile @@ -363,13 +363,13 @@ extras: all $(MAKE) -C extras/firetools .PHONY: cppcheck -cppcheck: clean +cppcheck: $(CPPCHECK) --force --error-exitcode=1 --enable=warning,performance \ -i src/firejail/checkcfg.c -i src/firejail/main.c . # For cppcheck 1.x; see .github/workflows/check-c.yml .PHONY: cppcheck-old -cppcheck-old: clean +cppcheck-old: $(CPPCHECK) --force --error-exitcode=1 --enable=warning,performance . .PHONY: scan-build