diff --git a/Makefile b/Makefile index 8a19eac..a8095b5 100644 --- a/Makefile +++ b/Makefile @@ -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