]> pd.if.org Git - uuid/blobdiff - Makefile
Fixed segfault in v1mc() and added test cases.
[uuid] / Makefile
index f2e67a9fcae6eefcd4623f37fbfc37c52ff3b35f..348c3aa9903b248702df0b85443f6efa61de4517 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,8 @@ libpduuid.a:  $(OBJ)
        ar rcuv $@ $+
        ranlib $@
 
-t/%.t: t/%.o t/ctap.o
-       $(CC) $(CFLAGS) -Wall -I. -o $@ $+ -lpduuid
+t/%.t: t/%.o t/ctap.o libpduuid.a
+       $(CC) $(CFLAGS) -Wall -I. -o $@ $< t/ctap.o -lpduuid
 
 test:  t/uuidgen.t libpduuid.a
        prove t/*.t