Mercurial > libavcodec.hg
diff Makefile @ 994:7701ff462e3a libavcodec
os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
author | michaelni |
---|---|
date | Sat, 11 Jan 2003 20:34:38 +0000 |
parents | 979f3cbd08a2 |
children | edc10966b081 |
line wrap: on
line diff
--- a/Makefile Sat Jan 11 04:54:38 2003 +0000 +++ b/Makefile Sat Jan 11 20:34:38 2003 +0000 @@ -91,9 +91,9 @@ SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) OBJS := $(OBJS) $(ASM_OBJS) -LIB= libavcodec.a +LIB= $(LIBPREF)avcodec$(LIBSUF) ifeq ($(BUILD_SHARED),yes) -SLIB= libavcodec.so +SLIB= $(SLIBPREF)avcodec$(SLIBSUF) endif TESTS= imgresample-test dct-test motion-test fft-test @@ -104,7 +104,9 @@ $(LIB): $(OBJS) rm -f $@ $(AR) rc $@ $(OBJS) +ifneq ($(CONFIG_OS2),yes) $(RANLIB) $@ +endif $(SLIB): $(OBJS) $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)