diff Makefile @ 22:65433f1b2549 libavformat

os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
author michaelni
date Sat, 11 Jan 2003 20:34:38 +0000
parents 3d52de18ecc3
children f6aae828c320
line wrap: on
line diff
--- a/Makefile	Sat Jan 11 05:33:35 2003 +0000
+++ b/Makefile	Sat Jan 11 20:34:38 2003 +0000
@@ -48,14 +48,16 @@
 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 @@
 	g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $< 
 
 clean: 
-	rm -f *.o *~ *.a 
+	rm -f *.o *~ *.a $(LIB)