NetBSD/gnu/usr.bin/bc/Makefile

16 lines
443 B
Makefile

# $NetBSD: Makefile,v 1.21 1999/02/11 16:13:01 tv Exp $
PROG= bc
SRCS= bc.y execute.c getopt.c getopt1.c global.c load.c main.c \
number.c scan.l storage.c util.c
CPPFLAGS+= -D_POSIX_SOURCE -I. -I${.CURDIR} -I${DIST}/bc/bc -I${DIST}/bc/h
LFLAGS+= -I8
LDADD+= -ll -ledit -ltermcap
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
YHEADER=1
DIST= ${.CURDIR}/../../dist
.PATH: ${DIST}/bc/bc ${DIST}/bc/lib ${DIST}/bc/doc
.include <bsd.prog.mk>