make testapps after the library.
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl
index 37aaac1..17caee1 100644
--- a/crypto/Makefile.ssl
+++ b/crypto/Makefile.ssl
@@ -57,6 +57,10 @@
 	echo "  #define DATE \"`date`\""; \
 	echo "#endif" ) >buildinf.h
 
+testapps:
+	(cd des && make des)
+	(cd pkcs7 && make testapps)
+
 subdirs:
 	@for i in $(SDIRS) ;\
 	do \
diff --git a/crypto/des/Makefile.ssl b/crypto/des/Makefile.ssl
index e9c9440..789063b 100644
--- a/crypto/des/Makefile.ssl
+++ b/crypto/des/Makefile.ssl
@@ -53,7 +53,7 @@
 top:
 	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
 
-all:	lib des
+all:	lib
 
 lib:	$(LIBOBJ)
 	$(AR) $(LIB) $(LIBOBJ)
diff --git a/crypto/pkcs7/Makefile.ssl b/crypto/pkcs7/Makefile.ssl
index f6632b3..2974465 100644
--- a/crypto/pkcs7/Makefile.ssl
+++ b/crypto/pkcs7/Makefile.ssl
@@ -37,7 +37,7 @@
 
 test:
 
-all:	lib testapps
+all:	lib
 
 testapps: enc dec sign verify