diff --git a/Makefile b/Makefile index 4270ac5..2144e4a 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ kernel/kernel.bin: #----- Other ----- +.PHONY: clean + clean: cd kernel && make clean rm $(EXEC) diff --git a/kernel/GDT/Makefile b/kernel/GDT/Makefile index b4a9400..e6083dd 100644 --- a/kernel/GDT/Makefile +++ b/kernel/GDT/Makefile @@ -10,6 +10,8 @@ $(EXEC): gdt.cpp #----- Other ----- +.PHONY:clean + clean: rm *.o #---------------- diff --git a/kernel/Makefile b/kernel/Makefile index b323e6e..aaf3ab9 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -26,6 +26,8 @@ GDT/gdt.o: #----- Other ----- +.PHONY:clean + clean: cd ./GDT/ && make clean rm ./*.o