t_mddriver.exe:
$(CC) $(CFLAGS2) -o t_mddriver.exe t_mddriver.c md5.c
-check:: t_mddriver$(EXEEXT)
+t_cksum: t_cksum.o $(TOPLIBD)/libcrypto.a
+ $(CC) $(CFLAGS) -o t_cksum t_cksum.o $(TOPLIBD)/libcrypto.a $(LIBS)
+
+check-unix:: t_mddriver t_cksum
+ $(C)t_mddriver -x
+ $(C)t_cksum "this is a test"
+
+check-windows:: t_mddriver$(EXEEXT)
$(C)t_mddriver$(EXEEXT) -x
+check:: check-$(WHAT)
+
clean:: clean-$(WHAT)
$(RM) t_mddriver$(EXEEXT) t_mddriver.$(OBJEXT)
+ $(RM) t_cksum$(EXEEXT) t_cksum.$(OBJEXT)
clean-unix::
$(RM) shared/*