summaryrefslogtreecommitdiffstats
path: root/makefile
blob: 24f21aa72ade8accf5285dc943be48c47262bdcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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