#
# BOOT                        Author :  Vincent Hayward
#                                       School of Electrical Engineering
#                                       Purdue University
#       Dir     : boot
#       File    : Makefile
#       Remarks : make the boot file for the controller download
#

DESTDIR = /b/rccl/s

boot:   mkboot.c boot.s
	cc mkboot.c -o mkboot
	cc11 -c boot.s
	ld11 boot.o -s
	od a.out | mkboot
	rm -f mkboot a.out boot.o

install:
	make
	rm -f $(DESTDIR)/boot $(DESTDIR)/dl
	cp boot $(DESTDIR)/boot
	cp dl   $(DESTDIR)/dl
