#!/bin/sh prefix=/opt/uClinux/m68k-pic-coff of=a.out found=0 for i in $@ do if test $found = 1 then found=0 of=$i fi if test $i = -o then found=1 fi done $prefix/bin/gld $@ mv $of $of.coff $prefix/bin/coff2flt -o $of $of.coff