iso:
	grub-mkrescue isodir -o iceOS.iso

run:
	qemu-system-x86_64 -cdrom iceOS.iso

run-curses:
	qemu-system-x86_64 -cdrom iceOS.iso -curses

bochs:
	bochs -f bochs_cfg -q

clean:
	rm -rf obj/ kernel/*.o kernel/cpu/*.o
	rm -rf kernel/shell/*.o
	rm -rf kernel/drivers/*.o kernel/libc/*.o
	rm -rf iceOS.iso bochslog.txt commands isodir
