boot.img: print printb cat print printb > boot.img print: print.asm nasm -Wall print.asm printb: printb.asm nasm -Wall printb.asm .PHONY: run run: boot.img qemu-system-i386 -drive file=boot.img,format=raw,index=0,if=floppy