From 67fbd407b16ede9c81f3cce5ce7eb4aff5f314de Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sat, 27 Jun 2020 00:58:33 +0200 Subject: [PATCH] Better clean --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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}