[Ffmpeg-cvslog] r6558 - trunk/libavcodec/Makefile

diego subversion
Thu Oct 5 02:32:57 CEST 2006


Author: diego
Date: Thu Oct  5 02:32:56 2006
New Revision: 6558

Modified:
   trunk/libavcodec/Makefile

Log:
Simplify EXTRALIBS handling.


Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	(original)
+++ trunk/libavcodec/Makefile	Thu Oct  5 02:32:56 2006
@@ -400,7 +400,6 @@
 ASM_OBJS += $(ASM_OBJS-yes)
 
 NAME=avcodec
-LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF)
 ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(LAVCVERSION)
 LIBMAJOR=$(LAVCMAJOR)
@@ -432,7 +431,7 @@
 
 # api example program
 apiexample: apiexample.c $(LIB)
-	$(CC) $(CFLAGS) -o $@ $^ $(LIBAVUTIL) $(EXTRALIBS)
+	$(CC) $(CFLAGS) -o $@ $^ $(EXTRALIBS)
 
 # cpuid test
 cpuid_test: i386/cputest.c
@@ -444,12 +443,12 @@
 	$(CC) $(CFLAGS) -DTEST -o $@ $^ -lm
 
 dct-test: dct-test.o fdctref.o $(LIB)
-	$(CC) -o $@ $^ -lm $(LIBAVUTIL)
+	$(CC) -o $@ $^ $(EXTRALIBS)
 
 motion-test: motion_test.o $(LIB)
 	$(CC) -o $@ $^ -lm
 
 fft-test: fft-test.o $(LIB)
-	$(CC) -o $@ $^ $(LIBAVUTIL) -lm
+	$(CC) -o $@ $^ $(EXTRALIBS)
 
 .PHONY: amrlibs tests




More information about the ffmpeg-cvslog mailing list