Blame view

Makefile 252 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
TARGETS = floppy.img boot.bin


boot.bin: boot.asm
	nasm boot.asm -f bin -o boot.bin
Imanol-Mikel Barba Sabariego authored
6
	dd if=boot.bin of=floppy.img bs=512 count=1 conv=notrunc
Imanol-Mikel Barba Sabariego authored
7
8
9
10
11
12
13
14
15

floppy.img: 
	dd if=/dev/zero of=floppy.img bs=512 count=2880

clean:
	rm -rf $(TARGETS)

all: $(TARGETS)