8 lines
196 B
Makefile
8 lines
196 B
Makefile
compile_and_run: compile run
|
|
|
|
compile:
|
|
rm -rf boot.bin
|
|
nasm -f bin -o boot.bin main.asm
|
|
|
|
run:
|
|
qemu-system-x86_64 -drive format=raw,file=boot.bin -drive format=raw,file=drive.bin -monitor stdio
|