diff Makefile @ 607:5762b2d659d2 libavcodec

darwin patches by Heliodoro Tammaro <helio at interactives dot org>
author michaelni
date Wed, 21 Aug 2002 19:18:02 +0000
parents 442dede8795b
children c0005de2be59
line wrap: on
line diff
--- a/Makefile	Tue Aug 20 19:23:06 2002 +0000
+++ b/Makefile	Wed Aug 21 19:18:02 2002 +0000
@@ -82,7 +82,7 @@
 
 $(LIB): $(OBJS)
 	rm -f $@
-	$(AR) rc $@ $(OBJS)
+	$(AR) rcs $@ $(OBJS)
 
 $(SLIB): $(OBJS)
 	$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
@@ -127,7 +127,7 @@
 
 dct-test: dct-test.o jfdctfst.o i386/fdct_mmx.o \
           fdctref.o jrevdct.o i386/idct_mmx.o
-	$(CC) -o $@ $^
+	$(CC) -o $@ $^ -lm
 
 motion-test: motion_test.o $(LIB)
 	$(CC) -o $@ $^