#!/bin/sh
main="$1"; shift
exec cc -s -o "$main" "$main.o" ${1+"$@"}


syntax highlighted by Code2HTML, v. 0.9.1