summaryrefslogtreecommitdiffstats
path: root/libavformat/Makefile
diff options
context:
space:
mode:
authorSlavik Gnatenko <miracle9@newmail.ru>2003-01-11 20:34:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-01-11 20:34:38 +0000
commitf3ec2d46bae60984cb9d0a26e94a2cc298b4f06d (patch)
tree3f59e4e94680c16859794b5ead5ce03eb51d0c31 /libavformat/Makefile
parent143cc725273c130220e42b7281318ae80083cda3 (diff)
downloadffmpeg-streaming-f3ec2d46bae60984cb9d0a26e94a2cc298b4f06d.zip
ffmpeg-streaming-f3ec2d46bae60984cb9d0a26e94a2cc298b4f06d.tar.gz
os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/Makefile')
-rw-r--r--libavformat/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile
index d688d70..9ff067c 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -48,14 +48,16 @@ ifeq ($(CONFIG_VORBIS),yes)
OBJS+= ogg.o
endif
-LIB= libavformat.a
+LIB= $(LIBPREF)avformat$(LIBSUF)
all: $(LIB)
$(LIB): $(OBJS)
rm -f $@
$(AR) rc $@ $(OBJS)
+ifneq ($(CONFIG_OS2),yes)
$(RANLIB) $@
+endif
installlib: all
install -m 644 $(LIB) $(prefix)/lib
@@ -73,4 +75,4 @@ installlib: all
g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $<
clean:
- rm -f *.o *~ *.a
+ rm -f *.o *~ *.a $(LIB)
OpenPOWER on IntegriCloud