diff --git a/c/Makefile b/c/Makefile index 6767a6bf..967df0d4 100644 --- a/c/Makefile +++ b/c/Makefile @@ -65,8 +65,9 @@ native_test: native @./native_test_runner .PHONY: clean +clean: SHELL := bash clean: - @rm -rf build dist {.,*,*/*}/{*.pyc,__pycache__,.mypy_cache,.pytest_cache,.benchmarks} || echo + @rm -rf build dist {.,*,*/*{,/*}}/{*.pyc,__pycache__,.mypy_cache,.pytest_cache,.benchmarks} || echo dist/c-lib.wasm: build/lib.c @mkdir -p dist diff --git a/cplusplus/Makefile b/cplusplus/Makefile index eb6b7862..4a9ae6e3 100644 --- a/cplusplus/Makefile +++ b/cplusplus/Makefile @@ -57,6 +57,7 @@ native_test: native @./native_test_runner .PHONY: clean +clean: SHELL := bash clean: @rm -rf build dist {.,*,*/*}/{*.pyc,__pycache__,.mypy_cache,.pytest_cache,.benchmarks} || echo