Commit a5620188 authored by diego's avatar diego

Simplify EXTRALIBS handling.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6558 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a96810da
......@@ -400,7 +400,6 @@ OBJS += $(OBJS-yes)
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 @@ clean::
# 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 @@ imgresample-test: imgresample.c
$(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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment