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