NetBSD/gnu/usr.bin/bc/Makefile

16 lines
421 B
Makefile
Raw Normal View History

# $Id: Makefile,v 1.4 1993/08/02 17:25:28 mycroft Exp $
PROG= bc
CFLAGS+=-D_POSIX_SOURCE -I${.CURDIR}/obj -I${.CURDIR}
SRCS= bc.c scan.c util.c main.c number.c storage.c load.c execute.c global.c
CLEANFILES+= bc.c scan.c y.tab.h
bc.c: bc.c.dist y.tab.h
cp ${.CURDIR}/bc.c.dist bc.c
scan.c: scan.c.dist
cp ${.CURDIR}/scan.c.dist scan.c
y.tab.h: y.tab.h.dist
cp ${.CURDIR}/y.tab.h.dist y.tab.h
.include <bsd.prog.mk>