summaryrefslogtreecommitdiffstats
path: root/games/factor/Makefile
blob: 8f68b9294f77e2e34a5bca01fe38f5191c1356c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	@(#)Makefile	8.1 (Berkeley) 5/31/93
# $FreeBSD$

PROG=	factor
SRCS=	factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes

.if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
CFLAGS+=-DHAVE_OPENSSL
LDADD+=	-lcrypto
DPADD+=	${LIBCRYPTO}
.endif

MAN=	factor.6
MLINKS+=factor.6 primes.6
.PATH:	${.CURDIR}/../primes

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud