PROG=		web2c
SRCS=		web2cy.c web2cl.c web2c.c
DPADD+=		${LIBL}
LDADD+=		-ll
CLEANFILES+=	web2cy.c web2cy.h web2cl.c 

# redefine the yacc rule so that y.tab.h can be renamed.
web2cy.c: web2cy.y
	@echo expect 3 shift/reduce conflicts from yacc
	${YACC} -d ${.IMPSRC}
	mv y.tab.c web2cy.c
	mv y.tab.h web2cy.h

.include "../Makefile.defs"	
.include <bsd.prog.mk>
