diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 0ddf881a4f..ef7a6cda4c 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -401,15 +401,8 @@ NAME=avcodec LIBVERSION=$(LAVCVERSION) LIBMAJOR=$(LAVCMAJOR) -TESTS= imgresample-test fft-test dct-test -ifeq ($(TARGET_ARCH_X86),yes) -TESTS+= cpuid_test motion-test -endif - include ../common.mak -tests: apiexample $(TESTS) - clean:: rm -f \ i386/*.o i386/*~ \ @@ -422,6 +415,13 @@ clean:: sparc/*.o sparc/*~ \ apiexample $(TESTS) +TESTS= imgresample-test fft-test dct-test +ifeq ($(TARGET_ARCH_X86),yes) +TESTS+= cpuid_test motion-test +endif + +tests: apiexample $(TESTS) + apiexample: apiexample.o $(LIB) cpuid_test: i386/cputest.c