diff --git a/Makefile b/Makefile index 3638c60..e5d99d6 100644 --- a/Makefile +++ b/Makefile @@ -116,9 +116,8 @@ $(PREFIX)/bin/x86_64-elf-gcc: $(PREFIX)/bin/x86_64-elf-objcopy ./build-gcc @echo It is located in the cross-cc subdirectory. clean: - @mkdir -p build-gcc build-binutils - @rm -rf build-gcc - @rm -rf build-binutils + cd build-gcc && make clean + cd build-binutils && make clean @rm -rf cross-cc -@rm -rf $(GCC_NAME)/gcc/config/i386/t-x86_64-elf -@echo ${CL2}[$@] ${CL}Success.${CL3}