diff options
author | Mateja <mail@matejamaric.com> | 2020-08-17 23:55:10 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-08-17 23:55:10 +0200 |
commit | dac42a2ad708553087c1ec2fcfbdb6c51ca6b2d3 (patch) | |
tree | 651fa1ce1e2fcb3d0322ab2a8e3aa84167f8fb10 /makefile | |
download | bootloader-dac42a2ad708553087c1ec2fcfbdb6c51ca6b2d3.tar.gz bootloader-dac42a2ad708553087c1ec2fcfbdb6c51ca6b2d3.zip |
first commit
Diffstat (limited to 'makefile')
-rwxr-xr-x | makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100755 index 0000000..f181ac6 --- /dev/null +++ b/makefile @@ -0,0 +1,12 @@ +boot.bin: boot.asm + nasm -f bin boot.asm -o boot.bin +all: boot.bin + truncate boot.bin -s 1200k + mkisofs -o boot.iso -b boot.bin ./ + dd if=boot.bin of=boot.flp bs=512 count=2880 +clean: + rm boot.bin + rm boot.iso + rm boot.flp +run: boot.bin + qemu-system-x86_64 boot.bin |