aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-04-17 16:46:04 +0200
committerLoïc Hoguin <[email protected]>2020-04-17 16:46:04 +0200
commit20e12ce0337b6ee687424d7b9ab87f2f1e809353 (patch)
treeaae0e3979c8dbbc30312395b29f892644485f3a2
parent2d006796921bae7250d5c273fa61bd5f1e1e4541 (diff)
downloadesdl2-master.tar.gz
esdl2-master.tar.bz2
esdl2-master.zip
Fix the cppcheck commandHEADmaster
-rw-r--r--Makefile5
1 files 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