]> CRI, Mines Paris - PSL - linpy.git/blobdiff - Makefile
Improve make clean
[linpy.git] / Makefile
index f2f5e9c5d9304792d80d05ca862ee84fce271926..e38f79b2f5b1b5ce524804d56c34e6cb96c0f658 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,5 @@ test: build
 
 .PHONY: clean
 clean:
-       $(RM) build dist MANIFEST venv
-       $(RM) $(NAME).egg-info $(NAME)/_isl.*.so $(NAME)/__pycache__
-       $(RM) tests/__pycache__
+       $(RM) build dist MANIFEST venv $(NAME).egg-info $(NAME)/_islhelper.*.so
+       find . -name __pycache__ | xargs $(RM)