Require a full build prior to testing (this fixes a problem whereby running 'make test' on an unbuilt tree would fail)


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@232 632fc199-4ca6-4c93-a231-07263d6284db
diff --git a/Makefile.am b/Makefile.am
index c8791b2..f8552ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -98,7 +98,7 @@
 
 if WITH_SIMD
 
-test: testclean cjpeg djpeg jpegtran jpegut
+test: testclean all
 	./jpegut
 	./cjpeg -dct int -outfile testoutint.jpg $(srcdir)/testorig.ppm
 	./cjpeg -dct fast -opt -outfile testoutfst.jpg $(srcdir)/testorig.ppm
@@ -121,7 +121,7 @@
 
 else
 
-test: testclean cjpeg djpeg jpegtran jpegut
+test: testclean all
 	./jpegut
 	./cjpeg -dct int -outfile testoutint.jpg $(srcdir)/testorig.ppm
 	./cjpeg -dct fast -opt -outfile testoutfst.jpg $(srcdir)/testorig.ppm