makefile(clean tgt): follow symlinks (build dir)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-01-07 21:04:54 +01:00
parent 04e088c07f
commit 2376918791
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -79,7 +79,7 @@ build: debug
test: check build
clean:
@find . -maxdepth 5 -regextype posix-egrep -regex ".*\.(o|dwo|out|bin|cmake|txt)" -not -name CMakeLists.txt -not -path "./lib/*" -delete
@find . -maxdepth 5 -follow -regextype posix-egrep -regex ".*\.(o|dwo|out|bin|cmake|txt)" -not -name CMakeLists.txt -not -path "./lib/*" -delete
distclean:
@find . -iwholename '*cmake*' -not -name CMakeLists.txt -not -path "./lib/*" -delete