-# $OpenBSD: Makefile,v 1.4 2022/07/07 20:01:20 tb Exp $
+# $OpenBSD: Makefile,v 1.5 2022/07/08 06:25:39 tb Exp $
WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/
PROGS += wycheproof-primes
-LDADD = -lcrypto
-DPADD = ${LIBCRYPTO}
-CFLAGS = -I${.CURDIR} -I${.OBJDIR}
+LDADD += -lcrypto
+DPADD += ${LIBCRYPTO}
+CFLAGS += -I${.CURDIR} -I${.OBJDIR}
primality_testcases.h: wycheproof-json.pl ${WYCHEPROOF_TESTVECTORS}/primality_test.json
perl ${.CURDIR}/wycheproof-json.pl > $@.tmp