Simplify the ct Makefile slightly
authortb <tb@openbsd.org>
Thu, 2 Mar 2023 21:17:35 +0000 (21:17 +0000)
committertb <tb@openbsd.org>
Thu, 2 Mar 2023 21:17:35 +0000 (21:17 +0000)
regress/lib/libcrypto/ct/Makefile

index 52830ae..2856ddf 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2022/01/14 09:33:46 tb Exp $
+# $OpenBSD: Makefile,v 1.4 2023/03/02 21:17:35 tb Exp $
 
 PROG=          cttest
 LDADD=         -lcrypto
@@ -9,11 +9,7 @@ CFLAGS+=       -Wundef -Werror
 CFLAGS+=       -DLIBRESSL_CRYPTO_INTERNAL -DLIBRESSL_INTERNAL
 CFLAGS+=       -I$(BSDSRCDIR)/lib/libcrypto
 
-REGRESS_TARGETS= \
-       regress-cttest
-
-regress-cttest: ${PROG}
-       ./cttest \
-           ${.CURDIR}/../../libcrypto/ct/
+run-regress-cttest: cttest
+       ./cttest ${.CURDIR}/../../libcrypto/ct/
 
 .include <bsd.regress.mk>