Move benchmark target up a bit and mark it phony
authortb <tb@openbsd.org>
Sat, 17 Dec 2022 22:31:10 +0000 (22:31 +0000)
committertb <tb@openbsd.org>
Sat, 17 Dec 2022 22:31:10 +0000 (22:31 +0000)
regress/lib/libcrypto/bn/Makefile

index 8a51a2c..6e89e02 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.17 2022/12/17 17:18:46 jsing Exp $
+#      $OpenBSD: Makefile,v 1.18 2022/12/17 22:31:10 tb Exp $
 
 PROGS +=       bn_add_sub
 PROGS +=       bn_cmp
@@ -60,11 +60,12 @@ run-bc: bn_test.out
 
 CLEANFILES +=  bn_test.out bc.out
 
+benchmark: bn_shift
+       ./bn_shift --benchmark
+.PHONY: benchmark
+
 .for p in ${STATIC_LINK}
 LDADD_$p +=    ${CRYPTO_INT}
 .endfor
 
-benchmark: bn_shift
-       ./bn_shift --benchmark
-
 .include <bsd.regress.mk>