summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-14 17:57:07 (GMT)
committerGuido van Rossum <guido@python.org>2001-04-14 17:57:07 (GMT)
commitcd0ed971f21eac63d0c912d56dde4e905c465e85 (patch)
tree62e89f379f0a2861cf6a4f7cf65620d896f6aea0 /Makefile.pre.in
parent6b356e70b5f3d0ce99d84576401c2acca6a0b90e (diff)
downloadcpython-cd0ed971f21eac63d0c912d56dde4e905c465e85.zip
cpython-cd0ed971f21eac63d0c912d56dde4e905c465e85.tar.gz
cpython-cd0ed971f21eac63d0c912d56dde4e905c465e85.tar.bz2
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 2686ad5..f81702b 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -751,11 +751,12 @@ TAGS::
clean:
find . -name '*.o' -exec rm -f {} ';'
+ find . -name '*.s[ol]' -exec rm -f {} ';'
find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
clobber: clean
-rm -f $(PYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
- Modules/*.so Modules/*.sl tags TAGS \
+ tags TAGS \
config.cache config.log config.h Modules/config.c
-rm -rf build