Better clean
This commit is contained in:
parent
abd80b2caf
commit
67fbd407b1
5
Makefile
5
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}
|
||||
|
|
Loading…
Reference in New Issue