Mercurial > libavcodec.hg
comparison Makefile @ 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 | d8a712661dff |
comparison
equal
deleted
inserted
replaced
6191:0bc5338a2e33 | 6192:3e13247560d4 |
---|---|
470 mlib/*.o mlib/*~ \ | 470 mlib/*.o mlib/*~ \ |
471 ppc/*.o ppc/*~ \ | 471 ppc/*.o ppc/*~ \ |
472 ps2/*.o ps2/*~ \ | 472 ps2/*.o ps2/*~ \ |
473 sh4/*.o sh4/*~ \ | 473 sh4/*.o sh4/*~ \ |
474 sparc/*.o sparc/*~ \ | 474 sparc/*.o sparc/*~ \ |
475 apiexample$(EXESUF) $(TESTS) | 475 apiexample$(EXESUF) |
476 | |
477 tests: apiexample$(EXESUF) $(TESTS) | |
478 | 476 |
479 cpuid-test$(EXESUF): i386/cputest.c | 477 cpuid-test$(EXESUF): i386/cputest.c |
480 apiexample$(EXESUF): apiexample.o $(LIBNAME) | 478 apiexample$(EXESUF): apiexample.o $(LIBNAME) |
481 dct-test$(EXESUF): dct-test.o fdctref.o $(LIBNAME) | 479 dct-test$(EXESUF): dct-test.o fdctref.o $(LIBNAME) |
482 fft-test$(EXESUF): fft-test.o $(LIBNAME) | 480 fft-test$(EXESUF): fft-test.o $(LIBNAME) |
483 motion-test$(EXESUF): motion-test.o $(LIBNAME) | 481 motion-test$(EXESUF): motion-test.o $(LIBNAME) |
484 | |
485 %-test$(EXESUF): %.c $(LIBNAME) | |
486 $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $^ $(EXTRALIBS) | |
487 | |
488 .PHONY: tests |