Add to variables instead of overriding them
authortb <tb@openbsd.org>
Fri, 8 Jul 2022 06:25:39 +0000 (06:25 +0000)
committertb <tb@openbsd.org>
Fri, 8 Jul 2022 06:25:39 +0000 (06:25 +0000)
regress/lib/libcrypto/wycheproof/Makefile

index 2e1d16b..019e2af 100644 (file)
@@ -1,4 +1,4 @@
-# $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/
 
@@ -32,9 +32,9 @@ regress-wycheproof: wycheproof
 
 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