summaryrefslogtreecommitdiff
path: root/usr.bin/bc/Makefile
blob: bc8b937791a3063961e9e2e73967a64c81ce2bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	$OpenBSD: Makefile,v 1.6 2011/03/07 08:11:15 otto Exp $

PROG=		bc
SRCS=		bc.y scan.l
CPPFLAGS+=	-I. -I${.CURDIR}
CFLAGS+=	-Wall -Wno-unused
YFLAGS+=
LDADD+=		-ledit -lcurses
DPADD+=		${LIBEDIT} ${LIBCURSES}


beforeinstall:
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/bc.library \
	    ${DESTDIR}/usr/share/misc

.include <bsd.prog.mk>