ead96d53e2
to Makefile to do proper build with original FSF source.
19 lines
365 B
Makefile
19 lines
365 B
Makefile
# $NetBSD: Makefile,v 1.15 1997/05/14 03:58:13 phil Exp $
|
|
|
|
PROG= bc
|
|
CFLAGS+=-D_POSIX_SOURCE -I. -I${.CURDIR}
|
|
LFLAGS+=-I8
|
|
SRCS= bc.y execute.c getopt.c getopt1.c global.c load.c main.c number.c \
|
|
scan.l storage.c util.c
|
|
LDADD+= -ll
|
|
DPADD+= ${LIBL}
|
|
|
|
CLEANFILES+= bc.h
|
|
|
|
bc.c bc.h: bc.y
|
|
${YACC} -d ${.ALLSRC}
|
|
mv y.tab.c bc.c
|
|
mv y.tab.h bc.h
|
|
|
|
.include <bsd.prog.mk>
|