4c3c6c570727a9d98e9a7a351f30797a8d5dc906
[darkstat] / dev_clang_warns.sh
1 #!/bin/sh -x
2 #
3 # Build with lots of Clang warnings enabled.
4 #
5 TARGET=dev_all.c
6
7 # Adjust to suit:
8 LLVM=$HOME/llvm
9 CLANG=$LLVM/install/bin/clang
10
11 $CLANG -Weverything -O -c $TARGET