From afc7ca7d75184ecf170647e62f777c491a400810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= Date: Mon, 27 Mar 2023 17:07:52 +0200 Subject: [PATCH] Makefile: Use variable for qemu This way users can specify which backend to use without having to change the Makefile itself. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b166c41..c962b64 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ NASM = nasm PYTHON = python3 +QEMU = qemu-system-i386 .SUFFIXES: .SUFFIXES: .bin .asm .ans .wall @@ -31,7 +32,7 @@ memory.bin: ponydos.inc $(PYTHON) process_wallpaper.py $@ $< 7 0 0 0 run: ponydos.img - qemu-system-i386 -drive file=$<,index=0,if=floppy,format=raw + $(QEMU) -drive file=$<,index=0,if=floppy,format=raw clean: rm -f *.bin *.img *.wall ponydos.inc