From 20e12ce0337b6ee687424d7b9ab87f2f1e809353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 17 Apr 2020 16:46:04 +0200 Subject: Fix the cppcheck command --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c4af998..3c1595a 100644 --- a/Makefile +++ b/Makefile @@ -42,9 +42,8 @@ ci-setup:: distclean-c_src-env check:: cppcheck scan-build cppcheck: - $(gen_verbose) cppcheck -f -q --error-exitcode=2 \ - --enable=warning,style --inconclusive --std=posix \ - $(firstword $(SDL2_CFLAGS)) -U_System -USDL_CreateThread c_src/ + $(gen_verbose) cppcheck -f -q --error-exitcode=2 --enable=warning,style --inconclusive \ + -I$(DEPS_DIR)/nif_helpers $(firstword $(SDL2_CFLAGS)) -U_System -USDL_CreateThread c_src/ scan-build: $(verbose) $(MAKE) clean -- cgit v1.2.3