echo 'main="$1"; shift'
echo 'rm -f "$main"'
echo $CC '-shared -Wl,-soname,$main -o "$main" ${1+"$@"}'


syntax highlighted by Code2HTML, v. 0.9.1