# Static analyzer with clang and Opt.
# Call top-level Allwmake with 'scan-build' and corresponding compiler

include $(DEFAULT_RULES)/c++Opt

cxx_compiler := $(shell which clang++)
CC         := $(shell echo "$(cxx_compiler)" | sed -e 's@/bin/[^/]*@/libexec/c++-analyzer@') -std=c++11 -m64
