summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/wycheproof/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/regress/lib/libcrypto/wycheproof/Makefile b/regress/lib/libcrypto/wycheproof/Makefile
index 4017fe0a4cf..6e88568eeb9 100644
--- a/regress/lib/libcrypto/wycheproof/Makefile
+++ b/regress/lib/libcrypto/wycheproof/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2023/03/08 05:36:45 tb Exp $
+# $OpenBSD: Makefile,v 1.8 2023/07/08 18:33:41 espie Exp $
WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/
@@ -32,12 +32,11 @@ DPADD += ${LIBCRYPTO}
CFLAGS += -I${.CURDIR} -I${.OBJDIR}
primality_testcases.h: wycheproof-json.pl ${WYCHEPROOF_TESTVECTORS}/primality_test.json
- perl ${.CURDIR}/wycheproof-json.pl > $@.tmp
- mv -f $@.tmp $@
+ perl ${.CURDIR}/wycheproof-json.pl > $@.tmp && mv $@.tmp $@
-wycheproof-primes: wycheproof-primes.c primality_testcases.h
+wycheproof-primes.o: primality_testcases.h
-regress-wycheproof-primes: primality_testcases.h wycheproof-primes
+regress-wycheproof-primes: wycheproof-primes
./wycheproof-primes
CLEANFILES += primality_testcases.h