From 94e7ef0f6c0314f9a827ac6cd344a3a8f60d397a Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 7 May 2020 13:49:07 +0200 Subject: Makefile: Implement clean target Change-Id: Ia21b0f184bfd454b3835774949f581a27860a80a --- selftest/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'selftest') diff --git a/selftest/Makefile b/selftest/Makefile index f0c8c69..fb8618c 100644 --- a/selftest/Makefile +++ b/selftest/Makefile @@ -9,4 +9,9 @@ update: set_pythonpath: echo "export PYTHONPATH=\"$(PWD)/../src\"" > set_pythonpath +clean: + @find . -name "*__pycache__" -type d -print0 | xargs -0 rm -rvf + @find . -name "*test_work" -type d -print0 | xargs -0 rm -rvf + @rm -fv ./set_pythonpath + # vim: noexpandtab tabstop=8 shiftwidth=8 -- cgit v1.2.3