summaryrefslogtreecommitdiffstats
path: root/makefile
blob: ffe85c31c0e3bc645f4e825783ba115c57f3fcf3 (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 2>/dev/null