changeset 3937:0b4d29db857a libavcodec

Simplify test program build.
author diego
date Thu, 05 Oct 2006 17:10:33 +0000
parents eb62107248ca
children 92d8a536268f
files Makefile
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Oct 05 09:58:33 2006 +0000
+++ b/Makefile	Thu Oct 05 17:10:33 2006 +0000
@@ -429,26 +429,18 @@
 	-$(MAKE) -C amr clean
 	-$(MAKE) -C amrwb_float -f makefile.gcc clean
 
-# api example program
-apiexample: apiexample.c $(LIB)
-	$(CC) $(CFLAGS) -o $@ $^ $(EXTRALIBS)
+apiexample: apiexample.o $(LIB)
 
-# cpuid test
 cpuid_test: i386/cputest.c
 	$(CC) $(CFLAGS) -D__TEST__ -o $@ $<
 
-# testing progs
-
 imgresample-test: imgresample.c $(LIB)
 	$(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
 
 dct-test: dct-test.o fdctref.o $(LIB)
-	$(CC) -o $@ $^ $(EXTRALIBS)
 
 motion-test: motion_test.o $(LIB)
-	$(CC) -o $@ $^ -lm
 
 fft-test: fft-test.o $(LIB)
-	$(CC) -o $@ $^ $(EXTRALIBS)
 
 .PHONY: amrlibs tests