summaryrefslogtreecommitdiffstats
path: root/makefile
blob: 46dc4ee65df4c75af26a9ab2244e931df21753b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all: run

run: create_iso
	qemu-system-i386 -hda mini_kernel/mini_kernel.iso

create_iso: cpy
	grub-mkrescue -o mini_kernel/mini_kernel.iso mini_kernel

cpy:
	cp grub/grub.cfg mini_kernel/
	cp kernel/kernel.elf mini_kernel/

clean:
	rm mini_kernel/*.iso mini_kernel/*.cfg mini_kernel/*.elf