Browse Source

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
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
29a10be0d4
5 changed files with 8 additions and 7 deletions
  1. +2
    -1
      libavcodec/Makefile
  2. +3
    -3
      libavcodec/libpostproc/Makefile
  3. +1
    -1
      libavformat/Makefile
  4. +1
    -1
      libavutil/Makefile
  5. +1
    -1
      vhook/Makefile

+ 2
- 1
libavcodec/Makefile View File

@@ -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/*~ \


+ 3
- 3
libavcodec/libpostproc/Makefile View File

@@ -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



+ 1
- 1
libavformat/Makefile View File

@@ -143,7 +143,7 @@ install-headers:
g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $<

distclean clean:
rm -f *.o *.d .depend *~ *.a *$(SLIBSUF) $(LIB)
rm -f *.o *.d *~ .depend *.a *.lib *.so *.dylib *.dll

#
# include dependency files if they exist


+ 1
- 1
libavutil/Makefile View File

@@ -50,7 +50,7 @@ depend: $(SRCS)
dep: depend

clean:
rm -f *.o *.d *~ .depend $(LIB) $(SLIBNAME) *$(SLIBSUF)
rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll

distclean: clean
rm -f Makefile.bak .depend


+ 1
- 1
vhook/Makefile View File

@@ -40,7 +40,7 @@ drawtext$(SLIBSUF): drawtext.o
$(CC) $(LDFLAGS) -g -o $@ $(SHFLAGS) $<

clean:
rm -f *.o *.d .depend *$(SLIBSUF) *~
rm -f *.o *.d *~ .depend *.a *.lib *.so *.dylib *.dll

ifneq ($(wildcard .depend),)
include .depend


Loading…
Cancel
Save