Makefile 298 B

1234567891011
  1. .PHONY: run
  2. run: build
  3. qemu-system-x86_64 -drive file=build/boot.img,format=raw -display curses -no-reboot -no-shutdown -S -s -enable-kvm
  4. .PHONY: build
  5. build:
  6. cmake --build build --target boot.img
  7. build/boot.vdi: build/boot.img
  8. -rm build/boot.vdi
  9. VBoxManage convertfromraw $< $@ --format VDI