From: Richard W.M. Jones Date: Fri, 25 Oct 2019 10:42:57 +0000 (+0100) Subject: Add Makefile, gitignore. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ed56e12fef26bbceba5e9e64f78c0b6204c3e144;p=pyrit.git Add Makefile, gitignore. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5903843 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*~ +pyrit.img diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6063b86 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +all: pyrit.img + +pyrit.img: pyrit.asm + nasm -f bin -o $@ $< + +clean: + rm -f *~ pyrit.img + +run: pyrit.img + qemu-system-i386 -fda $< + +runbochs: pyrit.img + bochs -q 'boot:a' 'floppya: 1_44=$<, status=inserted' + +.PHONY: run runbochs