From ed56e12fef26bbceba5e9e64f78c0b6204c3e144 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 25 Oct 2019 11:42:57 +0100 Subject: [PATCH] Add Makefile, gitignore. --- .gitignore | 2 ++ Makefile | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile 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 -- 1.8.3.1