Skip to content

Commit f6b0304

Browse files
author
Dane Springmeyer
committed
add to clean and distclean targets
1 parent 765490b commit f6b0304

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Makefile

+12-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,18 @@ format:
2525
./scripts/format.sh
2626

2727
clean:
28-
rm -rf build
28+
rm -rf ./build
29+
# remove remains from running 'make coverage'
30+
rm -f *.profraw
31+
rm -f *.profdata
32+
@echo "run 'make distclean' to also clear mason_packages, .mason, and .toolchain directories"
33+
34+
distclean: clean
35+
rm -rf mason_packages
36+
# remove remains from running './scripts/setup.sh'
37+
rm -rf .mason
38+
rm -rf .toolchain
39+
rm -f local.env
2940

3041
.PHONY: test bench
3142

0 commit comments

Comments
 (0)