1993-08-02 21:18:41 +04:00
|
|
|
# $Id: Makefile,v 1.4 1993/08/02 17:25:28 mycroft Exp $
|
1993-04-10 19:51:24 +04:00
|
|
|
|
|
|
|
PROG= bc
|
1993-05-04 11:49:22 +04:00
|
|
|
CFLAGS+=-D_POSIX_SOURCE -I${.CURDIR}/obj -I${.CURDIR}
|
1993-04-10 19:51:24 +04:00
|
|
|
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
|
|
|
|
|
1993-05-04 11:49:22 +04:00
|
|
|
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
|
|
|
|
|
1993-04-10 19:51:24 +04:00
|
|
|
.include <bsd.prog.mk>
|