From: Fabrice Bellard Date: Sat, 1 Feb 2003 20:53:07 +0000 (+0000) Subject: added basic png handling - do not remake dependencies automatically X-Git-Tag: v0.5~16724 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=f8d7b5f5f452782423a7a5859e7cae3454f142f8 added basic png handling - do not remake dependencies automatically Originally committed as revision 1528 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/Makefile b/libavformat/Makefile index a81845724f..4f2715a860 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -20,7 +20,7 @@ OBJS+= asf.o endif # image formats -OBJS+= pnm.o yuv.o +OBJS+= pnm.o yuv.o png.o libpng/png.o libpng/pngread.o libpng/pngrutil.o libpng/pngwrite.o libpng/pngwutil.o # file I/O OBJS+= avio.o aviobuf.o file.o OBJS+= framehook.o @@ -63,14 +63,14 @@ SRCS := $(OBJS:.o=.c) all: $(LIB) -$(LIB): .depend $(OBJS) +$(LIB): $(OBJS) rm -f $@ $(AR) rc $@ $(OBJS) ifneq ($(CONFIG_OS2),yes) $(RANLIB) $@ endif -.depend: $(SRCS) +depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend installlib: all