+bits.test: bits.t
+ ./bits.t -f $(srcdir)/bits.in
+
+base64.to: base64.c
+ $(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $(srcdir)/base64.c -o base64.to
+base64.t: base64.to base64.o libmLib.la
+ $(CC) $(CFLAGS) $(LDFLAGS) base64.to .libs/libmLib.a $(LIBS) -o base64.t
+base64.test: base64.t base64.in base64.ref
+ ./base64.t <$(srcdir)/base64.in >base64.out
+ cmp base64.out $(srcdir)/base64.ref
+ ./base64.t -d <$(srcdir)/base64.ref >base64.out
+ cmp base64.out $(srcdir)/base64.in
+ @echo "base64 tested OK."
+
+hex.to: hex.c
+ $(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $(srcdir)/hex.c -o hex.to
+hex.t: hex.to hex.o libmLib.la
+ $(CC) $(CFLAGS) $(LDFLAGS) hex.to .libs/libmLib.a $(LIBS) -o hex.t
+hex.test: hex.t hex.in hex.ref
+ ./hex.t <$(srcdir)/hex.in >hex.out
+ cmp hex.out $(srcdir)/hex.ref
+ ./hex.t -d <$(srcdir)/hex.ref >hex.out
+ cmp hex.out $(srcdir)/hex.in
+ @echo "hex tested OK."