#!/bin/bash
#sbc-s    UNIX (bohm)

#coff version

echo 'unix (bohm) version'

echo 'assembling and linking ' $1 '...'


# Run the assembler with the appropriate options ----
	m68k-coff-as $1'.s' -o  $1'.o'  -m5200 -ahls=$1'.lst'

# Run the linker with the appropriate options
	m68k-coff-gcc -m5200 -W1,-n  $1'.o' -o $1'.x' -L. -Tsbc5206-srec.ld


echo '...done'


