Mercurial > libavcodec.hg
changeset 3048:986716310195 libavcodec
Don't use 'rm -f *$(SLIBSUF)' in a clean rule, $(SLIBSUF) might be empty.
Remove all possible shared libs suffixes instead.
author | diego |
---|---|
date | Sun, 15 Jan 2006 00:28:36 +0000 |
parents | 1dc89e24d9c2 |
children | 9f85c9cf6034 |
files | Makefile libpostproc/Makefile |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sat Jan 14 18:17:19 2006 +0000 +++ b/Makefile Sun Jan 15 00:28:36 2006 +0000 @@ -444,7 +444,8 @@ dep: depend clean: $(CLEANAMR) - rm -f *.o *.d *~ .depend $(LIB) $(SLIBNAME) *$(SLIBSUF) i386/*.o i386/*~ \ + rm -f *.o *.d *~ i386/*.o i386/*~ \ + *.a *.lib *.so *.dylib *.dll \ armv4l/*.o armv4l/*~ \ mlib/*.o mlib/*~ \ alpha/*.o alpha/*~ \
--- a/libpostproc/Makefile Sat Jan 14 18:17:19 2006 +0000 +++ b/libpostproc/Makefile Sun Jan 15 00:28:36 2006 +0000 @@ -25,10 +25,10 @@ all: $(SWSLIB) $(LIB) $(SLIBNAME) clean: - rm -f *.o *.a *~ *$(SLIBSUF) $(LIB) $(SLIBNAME) + rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll -distclean: - rm -f Makefile.bak *.o *.a *~ *$(SLIBSUF) .depend +distclean: clean + rm -f Makefile.bak .depend dep: depend