makefile(clean tgt): follow symlinks (build dir)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
04e088c07f
commit
2376918791
2
Makefile
2
Makefile
|
@ -79,7 +79,7 @@ build: debug
|
||||||
test: check build
|
test: check build
|
||||||
|
|
||||||
clean:
|
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:
|
distclean:
|
||||||
@find . -iwholename '*cmake*' -not -name CMakeLists.txt -not -path "./lib/*" -delete
|
@find . -iwholename '*cmake*' -not -name CMakeLists.txt -not -path "./lib/*" -delete
|
||||||
|
|
Reference in New Issue