have compile use the scan.c, y.tab.h, and bc.c files as distributed,
rather than lex/yaccing them ourselves. still don't know why these don't get flexed right...
This commit is contained in:
parent
50a88402c8
commit
cfa46708df
@ -1,8 +1,15 @@
|
||||
# $Header: /cvsroot/src/gnu/usr.bin/bc-1.02/Attic/Makefile,v 1.2 1993/04/10 16:09:10 cgd Exp $
|
||||
# $Header: /cvsroot/src/gnu/usr.bin/bc-1.02/Attic/Makefile,v 1.3 1993/05/04 07:49:22 cgd Exp $
|
||||
|
||||
PROG= bc
|
||||
CFLAGS+=-D_POSIX_SOURCE -I${.CURDIR}/obj
|
||||
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>
|
||||
|
@ -1,8 +1,15 @@
|
||||
# $Header: /cvsroot/src/gnu/usr.bin/bc/Attic/Makefile,v 1.2 1993/04/10 16:09:10 cgd Exp $
|
||||
# $Header: /cvsroot/src/gnu/usr.bin/bc/Attic/Makefile,v 1.3 1993/05/04 07:49:22 cgd Exp $
|
||||
|
||||
PROG= bc
|
||||
CFLAGS+=-D_POSIX_SOURCE -I${.CURDIR}/obj
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user