diff options
-rw-r--r-- | src/regress/lib/libcrypto/bn/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/Makefile b/src/regress/lib/libcrypto/bn/Makefile index 8d5be68a93..f3f98a31eb 100644 --- a/src/regress/lib/libcrypto/bn/Makefile +++ b/src/regress/lib/libcrypto/bn/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.13 2022/12/02 00:55:57 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.14 2022/12/02 08:30:54 tb Exp $ |
2 | 2 | ||
3 | PROGS += bn_add_sub | 3 | PROGS += bn_add_sub |
4 | PROGS += bn_cmp | 4 | PROGS += bn_cmp |
@@ -24,8 +24,13 @@ WARNINGS = Yes | |||
24 | CFLAGS += -Wall -Wundef -Werror | 24 | CFLAGS += -Wall -Wundef -Werror |
25 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bn/ | 25 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bn/ |
26 | 26 | ||
27 | # Use default targets from bsd.regress.mk where possible. | 27 | .for p in ${PROGS} |
28 | REGRESS_TARGETS = ${PROGS:S/^/run-regress-/} | 28 | REGRESS_TARGETS += run-$p |
29 | .PHONY: run-$p | ||
30 | |||
31 | run-$p: $p | ||
32 | ./$p | ||
33 | .endfor | ||
29 | 34 | ||
30 | # Verify that the bn_isqrt -C output isn't changed by accident. | 35 | # Verify that the bn_isqrt -C output isn't changed by accident. |
31 | isqrt-print-tables: bn_isqrt | 36 | isqrt-print-tables: bn_isqrt |