Scripts to run the clang analyzer

This commit is contained in:
Kevin Lange 2012-10-09 21:00:50 -07:00
parent 66a35ba224
commit c8b3a480c7
3 changed files with 8 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1,4 @@
#!/bin/bash
make clean
CCC_ANALYZE=yes scan-build make