Simplified using new yacc rules. This is cosmetic - the old rules worked

with `make -jN' because they did the right things to generate cexp.h
without clobbering cexp.c, and there were no missing dependencies on
cexp.h because cexp.h isn't actually used.

Fixed style bugs.
This commit is contained in:
bde 1998-05-04 16:58:50 +00:00
parent 48c3a2da34
commit 0d10950020
2 changed files with 10 additions and 24 deletions

View File

@ -1,18 +1,11 @@
#
# $Id: Makefile,v 1.9 1997/02/22 15:44:59 peter Exp $
#
# $Id$
PROG = cpp
SRCS = cccp.c cexp.c
PROG= cpp
SRCS= cccp.c cexp.y obstack.c version.c
YACC= ${BISON}
YFLAGS=
BINDIR= /usr/libexec
SRCS+= obstack.c version.c
MAN1= cccp.1
MLINKS= cccp.1 cpp.1
.ORDER: cexp.c cexp.h
cexp.c cexp.h: cexp.y
${BISON} -d ${GCCDIR}/cexp.y -o cexp.c
CLEANFILES+= cexp.c cexp.h
.include <bsd.prog.mk>

View File

@ -1,18 +1,11 @@
#
# $Id: Makefile,v 1.9 1997/02/22 15:44:59 peter Exp $
#
# $Id$
PROG = cpp
SRCS = cccp.c cexp.c
PROG= cpp
SRCS= cccp.c cexp.y obstack.c version.c
YACC= ${BISON}
YFLAGS=
BINDIR= /usr/libexec
SRCS+= obstack.c version.c
MAN1= cccp.1
MLINKS= cccp.1 cpp.1
.ORDER: cexp.c cexp.h
cexp.c cexp.h: cexp.y
${BISON} -d ${GCCDIR}/cexp.y -o cexp.c
CLEANFILES+= cexp.c cexp.h
.include <bsd.prog.mk>