# HG changeset patch # User diego # Date 1201476536 0 # Node ID 3e13247560d4577f0b520d143af623e89f5e6ef3 # Parent 0bc5338a2e33ed3f0a76e94dcf84c33872fbfbeb Move common test program infrastructure to common.mak. diff -r 0bc5338a2e33 -r 3e13247560d4 Makefile --- 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