Tests depend on everything.
[openssl.git] / Configurations / unix-Makefile.tmpl
index 5b34df5..a663589 100644 (file)
@@ -151,7 +151,7 @@ build_engines: $(ENGINES)
 build_apps: $(PROGRAMS) $(SCRIPTS)
 build_tests: $(TESTPROGS)
 
-test tests: build_tests rehash
+test tests: build_tests build_apps build_engines build_libs rehash
        ( cd test; \
          SRCTOP=../$(SRCDIR) \
          BLDTOP=../$(BLDDIR) \
@@ -883,7 +883,7 @@ EOF
       return <<"EOF";
 $script : $sources
        \$(PERL) "-I\$(BLDDIR)" -Mconfigdata "$dofile" \\
-           "-o{- $config{build_file} -}" $sources > "$script"
+           "-o$target{build_file}" $sources > "$script"
        chmod a+x $script
 EOF
   }