run rule
[efitest1] / Makefile
index 238933f..46739e6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,3 +37,7 @@ disk.img: part.img
 .PHONY: clean
 clean:
        rm -f $(obj) $(efibin) $(efiso) *.img
+
+.PHONY: run
+run: disk.img
+       qemu-system-x86_64 -bios /usr/share/ovmf/OVMF.fd  -hda $<