Makefile: clean use git clean to delete all gitignore files recursively

This commit is contained in:
Daniel Agar 2021-05-02 11:57:57 -04:00
parent feebb24106
commit 3b24abaa1b
1 changed files with 2 additions and 0 deletions

View File

@ -469,6 +469,8 @@ validate_module_configs:
clean:
@rm -rf "$(SRC_DIR)"/build
@git clean -dfX -e ".project" -e ".cproject" -e ".idea" -e ".settings" -e ".vscode"
@git submodule foreach git clean -dfX -e ".project" -e ".cproject" -e ".idea" -e ".settings" -e ".vscode"
submodulesclean:
@git submodule foreach --quiet --recursive git clean -ff -x -d