Makefile: Implement clean target

Change-Id: Ia21b0f184bfd454b3835774949f581a27860a80a
This commit is contained in:
Pau Espin 2020-05-07 13:49:07 +02:00 committed by pespin
parent 3135a1ae7e
commit 94e7ef0f6c
2 changed files with 11 additions and 0 deletions

View File

@ -15,4 +15,10 @@ check:
$(MAKE) -C selftest check
@echo "make check: success"
clean:
$(MAKE) -C selftest clean
$(MAKE) -C doc/manuals clean
@find . -name "*__pycache__" -type d -print0 | xargs -0 rm -rvf
@rm -fv ./src/osmo_gsm_tester/_version.py
@rm -fv ./version
# vim: noexpandtab tabstop=8 shiftwidth=8

View File

@ -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