freebsd-nq/games/factor/Makefile

21 lines
328 B
Makefile
Raw Normal View History

# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
.include <bsd.own.mk>
PROG= factor
SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes
.if ${MK_OPENSSL} != "no"
CFLAGS+=-DHAVE_OPENSSL
DPADD= ${LIBCRYPTO}
LDADD= -lcrypto
.endif
MAN= factor.6
MLINKS+=factor.6 primes.6
.PATH: ${.CURDIR}/../primes
.include <bsd.prog.mk>