improve test and clean targets in Makefiles
This commit is contained in:
parent
aa48b87c12
commit
7a6ebc851f
13 changed files with 39 additions and 9 deletions
|
|
@ -21,7 +21,8 @@ _default:
|
|||
@echo "nothing to make. try make install"
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so *.pyc *.pyo *~
|
||||
find . -name "__pycache__" -exec rm -rf {} \; ||:
|
||||
find . -name "*.pyc" -exec rm -f {} \;
|
||||
|
||||
install:
|
||||
@if [ "$(DESTDIR)" = "" ]; then \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue