diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-01-15 00:28:36 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-01-15 00:28:36 +0000 |
commit | 29a10be0d4c748446de746eecf1cfeaedcbe0aff (patch) | |
tree | 2e8cee3980e07f6b9c9b8b71d0cbcf74ef8f28d8 /libavcodec | |
parent | 69e9b2cf451eda4f9500cbe3c5a0419fef821078 (diff) | |
download | ffmpeg-29a10be0d4c748446de746eecf1cfeaedcbe0aff.tar.gz |
Don't use 'rm -f *$(SLIBSUF)' in a clean rule, $(SLIBSUF) might be empty.
Remove all possible shared libs suffixes instead.
Originally committed as revision 4860 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/Makefile | 3 | ||||
-rw-r--r-- | libavcodec/libpostproc/Makefile | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 2d1302a5fe..81a6d1365b 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -444,7 +444,8 @@ depend: $(SRCS) 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/*~ \ diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile index 7c7f8b487f..a549f31842 100644 --- a/libavcodec/libpostproc/Makefile +++ b/libavcodec/libpostproc/Makefile @@ -25,10 +25,10 @@ CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) 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 |