-# $OpenBSD: Makefile,v 1.4 2018/08/30 18:36:59 tb Exp $
+# $OpenBSD: Makefile,v 1.5 2018/08/31 17:35:21 tb Exp $
TESTS = \
asn1evp \
asn1time \
rfc5280time
+PROGS = ${TESTS}
+
REGRESS_TARGETS= all_tests
LDADD= -lcrypto
LDFLAGS+= -lcrypto
CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror
-CLEANFILES+= ${TESTS} ${TESTS:S/$/.d/}
-
all_tests: ${TESTS}
@for test in $>; do \
./$$test; \
-# $OpenBSD: Makefile,v 1.2 2018/07/10 20:53:30 tb Exp $
+# $OpenBSD: Makefile,v 1.3 2018/08/31 17:35:21 tb Exp $
TESTS = \
freenull
+PROG = ${TESTS}
+
REGRESS_TARGETS= all_tests
LDADD= -lcrypto
LDFLAGS+= -lcrypto
CFLAGS+= -DLIBRESSL_INTERNAL
-CLEANFILES+= ${TESTS} ${TESTS}.d freenull.c freenull.c.body freenull.c.tmp
+CLEANFILES+= freenull.c freenull.c.body freenull.c.tmp
freenull.c: freenull.awk ../../../../lib/libcrypto/Symbols.list
awk -f ${.CURDIR}/freenull.awk \