Scripts to run the clang analyzer
This commit is contained in:
parent
66a35ba224
commit
c8b3a480c7
4
Makefile
4
Makefile
@ -1,6 +1,10 @@
|
||||
# ToAruOS Primary Build Script
|
||||
# This script will pull either clang (with -fcolor-diagnostics), gcc (with no extra options), or cc
|
||||
#
|
||||
ifeq ($(CCC_ANALYZE),yes)
|
||||
else
|
||||
CC = `util/compiler`
|
||||
endif
|
||||
# Sometimes we just have to use GCC
|
||||
GCC = gcc
|
||||
# CFLAGS for core components
|
||||
|
4
analyze
Executable file
4
analyze
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
make clean
|
||||
CCC_ANALYZE=yes scan-build make
|
Loading…
Reference in New Issue
Block a user