16 lines
182 B
Makefile
16 lines
182 B
Makefile
|
.SUFFIXES:
|
||
|
.SUFFIXES: .bin .asm
|
||
|
|
||
|
all: bootsector.bin
|
||
|
|
||
|
.asm.bin:
|
||
|
nasm -fbin -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
rm -f *.bin *.img
|
||
|
|
||
|
run: bootsector.bin
|
||
|
qemu-system-i386 -fda $<
|
||
|
|
||
|
.PHONY: all clean run
|