10 lines
144 B
Plaintext
10 lines
144 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
if [[ -n `which clang` ]] ; then
|
||
|
echo "clang -fcolor-diagnostics"
|
||
|
elif [[ -n `which gcc` ]] ; then
|
||
|
echo "gcc"
|
||
|
else
|
||
|
echo "cc"
|
||
|
fi
|