Remove all possible shared libs suffixes instead.
Originally committed as revision 4860 to svn://svn.ffmpeg.org/ffmpeg/trunk
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/*~ \
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
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
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
$(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