diff --git a/Makefile b/Makefile index df3f521..cb3342f 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ HOS = hos MKISOFS = genisoimage ISO = $(HOS).iso -.PHONY: kernel iso +.PHONY: kernel iso clean # default target: build the kernel and ISO image all: kernel iso @@ -16,3 +16,7 @@ kernel: iso: kernel $(MKISOFS) -R -b boot/grub/stage2_eltorito -no-emul-boot \ -boot-load-size 4 -boot-info-table -o $(ISO) iso + +clean: + make -C kernel clean + -rm -f $(ISO) diff --git a/kernel/Makefile b/kernel/Makefile index 53ff566..ebbed51 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -1,3 +1,8 @@ +.PHONY: clean + all: @echo Nothing yet + +clean: + @echo Nothing yet