summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy.zurcher@heraeus.com>2015-11-02 11:15:48 +0100
committerJérémy Zurcher <jeremy.zurcher@heraeus.com>2015-11-02 11:15:48 +0100
commitd968266a3be79c449f62fdf6f19b8f8b5344eece (patch)
tree75c3596106e4d7b92a7223adb22f4f6cb5f5f928 /makefile
downloados_skeleton-d968266a3be79c449f62fdf6f19b8f8b5344eece.zip
os_skeleton-d968266a3be79c449f62fdf6f19b8f8b5344eece.tar.gz
Initial commit
Diffstat (limited to 'makefile')
-rw-r--r--makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..24f21aa
--- /dev/null
+++ b/makefile
@@ -0,0 +1,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
+ \ No newline at end of file