changeset 6192:3e13247560d4 libavcodec

Move common test program infrastructure to common.mak.
author diego
date Sun, 27 Jan 2008 23:28:56 +0000
parents 0bc5338a2e33
children 52ccab2531bd
files Makefile
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Jan 27 23:27:13 2008 +0000
+++ b/Makefile	Sun Jan 27 23:28:56 2008 +0000
@@ -472,17 +472,10 @@
 	   ps2/*.o ps2/*~ \
 	   sh4/*.o sh4/*~ \
 	   sparc/*.o sparc/*~ \
-	   apiexample$(EXESUF) $(TESTS)
-
-tests: apiexample$(EXESUF) $(TESTS)
+	   apiexample$(EXESUF)
 
 cpuid-test$(EXESUF): i386/cputest.c
 apiexample$(EXESUF): apiexample.o $(LIBNAME)
 dct-test$(EXESUF): dct-test.o fdctref.o $(LIBNAME)
 fft-test$(EXESUF): fft-test.o $(LIBNAME)
 motion-test$(EXESUF): motion-test.o $(LIBNAME)
-
-%-test$(EXESUF): %.c $(LIBNAME)
-	$(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
-
-.PHONY: tests