initial commit, bumming the sierpinski
[vtuts] / dos1 / Makefile
1 .PHONY: all
2 all: a.com b.com c.com
3
4 a.com: a.asm
5 b.com: b.asm
6 c.com: c.asm
7
8 %.com: %.asm
9         nasm -f bin -o $@ $<
10
11 %.img: %.asm
12         nasm -f bin -DBOOTSECT -o $@ $<
13
14 .PHONY: clean
15 clean:
16         rm -f a.com
17
18 .PHONY: boot
19 boot: b.img
20         qemu-system-i386 -fda $<