initial commit
[bootsplash] / Makefile
1 bin = bootsplash.bin
2 img = bootsplash.img
3
4 $(img): $(bin)
5         dd if=/dev/zero of=$@ bs=512 count=2880
6         dd if=$< of=$@ bs=512 conv=notrunc
7
8 $(bin): bootsplash.asm
9         nasm -f bin -o $@ $<
10
11 .PHONY: run
12 run: $(img)
13         qemu-system-i386 -fda $<
14
15 .PHONY: debug
16 debug: $(img)
17         qemu-system-i386 -S -s -fda $<