diff options
author | Loïc Hoguin <[email protected]> | 2018-05-24 11:21:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-24 11:21:03 +0200 |
commit | 51340fa75960ad44997175139eabd8e80753b4a3 (patch) | |
tree | 46ca78fb3ef278a647577b7ddc38a1a65a09d9af | |
parent | f9b4933e16ebcdc1db3af32b8da4fa2416f27acc (diff) | |
download | esdl2-51340fa75960ad44997175139eabd8e80753b4a3.tar.gz esdl2-51340fa75960ad44997175139eabd8e80753b4a3.tar.bz2 esdl2-51340fa75960ad44997175139eabd8e80753b4a3.zip |
Improve the cppcheck and scan-build targets
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -45,11 +45,14 @@ ci-setup:: distclean-c_src-env check:: cppcheck scan-build cppcheck: - cppcheck -f --quiet --error-exitcode=2 --enable=all --inconclusive --std=posix -I/usr/include/SDL2 c_src/ + $(gen_verbose) cppcheck -f -q \ + --error-exitcode=2 --enable=warning,style \ + --inconclusive --std=posix -I/usr/include/SDL2 \ + -U_System -USDL_CreateThread c_src/ scan-build: - make clean - scan-build make + $(verbose) $(MAKE) clean + $(gen_verbose) scan-build $(MAKE) hello_sdl:: all erlc -o examples/hello_sdl examples/hello_sdl/*.erl |