# $Id$ #FDDEVICE = "/dev/fd0" FDDEVICE = /dev/fd1 NASM = nasm #NASM = /usr/local/bin/nasm all: writeimg format writeimg: writeimg.c gcc writeimg.c -o writeimg format: format.c gcc format.c -o format install: writeimg ($(NASM) bootsec.asm -o bootsec) (cat ../compile/ubix.elf >>bootsec) (cat buf >>bootsec) (./writeimg $(FDDEVICE)) formatdsk: format (./format 60 2 bin help.txt readme.txt) clean: (rm -f writeimg format bootsec)