Better clean

This commit is contained in:
Adrien Bourmault 2020-06-27 00:58:33 +02:00
parent abd80b2caf
commit 67fbd407b1
No known key found for this signature in database
GPG Key ID: AFEE5788AEE3F4EC
1 changed files with 2 additions and 3 deletions

View File

@ -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}