#!/bin/sh
main="$1"; shift
exec cc -s -L/usr/local/lib/bglibs -o "$main" "$main.o" ${1+"$@"} -lsysdeps


syntax highlighted by Code2HTML, v. 0.9.1