diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,5 @@ +SUBDIR=kernel + all: run run: create_iso @@ -7,8 +9,11 @@ create_iso: cpy grub-mkrescue -o mini_kernel/mini_kernel.iso mini_kernel cpy: + cd $(SUBDIR); $(MAKE) run cp grub/grub.cfg mini_kernel/ cp kernel/kernel.elf mini_kernel/ + clean: + cd $(SUBDIR); $(MAKE) clean -rm mini_kernel/*.iso mini_kernel/*.cfg mini_kernel/*.elf 2>/dev/null |