all:	hpuboot rmuboot rpuboot rkuboot smuboot rootin rootout tarboot smf mboot

hpuboot:	hpuboot.s
	as -o hpuboot hpuboot.s

rmuboot:	rmuboot.s
	as -o rmuboot rmuboot.s
	strip rmuboot

rpuboot:	rpuboot.s
	as -o rpuboot rpuboot.s
	strip rpuboot

rkuboot:	rkuboot.s
	as -o rkuboot rkuboot.s
	strip rkuboot

smuboot:	smuboot.s
	as -o smuboot smuboot.s
	strip smuboot

rootin:	rootio.c
	cc -s -20 -DIN rootio.c -o rootin

rootout:	rootio.c
	cc -s -20 -DOUT rootio.c -o rootout

tarboot:	tarboot.s
	as -o tarboot.tmp tarboot.s
	strip tarboot.tmp
	size tarboot.tmp
	dd if=tarboot.tmp of=tarboot bs=1 skip=16 count=512
	rm -f tarboot.tmp

smf:	smf.c
	cc -s -20 smf.c -o smf

mboot:	mboot.s
	as -o mboot mboot.s
	strip mboot
