SarOS/asm/makefile

21 lines
402 B
Makefile

hello_world.bin: hello_world.asm
nasm -f bin hello_world.asm -o hello_world.bin
run_hello_world: hello_world.bin
qemu-system-x86_64 -fda hello_world.bin
32bit.bin: 32bit.asm
nasm -f bin 32bit.asm -o 32bit.bin
run_32bit: 32bit.bin
qemu-system-x86_64 -fda 32bit.bin
boot3.bin: boot3.asm
nasm -f bin boot3.asm -o boot3.bin
run3: boot3.bin
qemu-system-x86_64 -fda boot3.bin
clean:
rm -f *.bin