Makefile 237 B

123456789101112
  1. OVMF = /usr/share/qemu/bios-TianoCoreEFI.bin
  2. all: $(wildcard examples/*)
  3. .PHONY: Makefile
  4. %: Makefile
  5. @test -f $@/Makefile && make -C $@ all 2>/dev/null
  6. test:
  7. qemu-system-x86_64 -bios $(OVMF) -m 64 -enable-kvm -hda fat:rw:examples