# HG changeset patch # User diego # Date 1160068233 0 # Node ID 0b4d29db857a47fe0c3a26758e51da1d1b14c01a # Parent eb62107248caa58332a5441d984d86882c7b4336 Simplify test program build. diff -r eb62107248ca -r 0b4d29db857a Makefile --- 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