Revision bca9e0bc libavcodec/Makefile

View differences:

libavcodec/Makefile
472 472
	   ps2/*.o ps2/*~ \
473 473
	   sh4/*.o sh4/*~ \
474 474
	   sparc/*.o sparc/*~ \
475
	   apiexample$(EXESUF) $(TESTS)
476

  
477
tests: apiexample$(EXESUF) $(TESTS)
475
	   apiexample$(EXESUF)
478 476

  
479 477
cpuid-test$(EXESUF): i386/cputest.c
480 478
apiexample$(EXESUF): apiexample.o $(LIBNAME)
481 479
dct-test$(EXESUF): dct-test.o fdctref.o $(LIBNAME)
482 480
fft-test$(EXESUF): fft-test.o $(LIBNAME)
483 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

Also available in: Unified diff