mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
Remove shared libraries as part of "make clean" rather than in "make
clobber". This is done so that after a "make clean", setup.py will also recompile all extensions.
This commit is contained in:
parent
6b356e70b5
commit
cd0ed971f2
1 changed files with 2 additions and 1 deletions
|
@ -751,11 +751,12 @@ TAGS::
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find . -name '*.o' -exec rm -f {} ';'
|
find . -name '*.o' -exec rm -f {} ';'
|
||||||
|
find . -name '*.s[ol]' -exec rm -f {} ';'
|
||||||
find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
|
find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
|
||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
-rm -f $(PYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
|
-rm -f $(PYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
|
||||||
Modules/*.so Modules/*.sl tags TAGS \
|
tags TAGS \
|
||||||
config.cache config.log config.h Modules/config.c
|
config.cache config.log config.h Modules/config.c
|
||||||
-rm -rf build
|
-rm -rf build
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue