Makefile 237 B

1234567891011121314
  1. .POSIX:
  2. .PHONY: clean run
  3. main.img:
  4. make -C '../mbrs' && cp '../bios_hello_world.img.sym' 'iso/boot/main.img'
  5. grub-mkrescue -o '$@' iso
  6. clean:
  7. rm -f iso/boot/*.img *.img
  8. run: main.img
  9. qemu-system-i386 -drive 'file=$<,format=raw'