1993-11-11 04:29:52 +03:00
|
|
|
# $Id: Makefile,v 1.9 1993/11/11 01:30:19 jtc Exp $
|
1993-03-22 11:04:00 +03:00
|
|
|
|
1993-06-14 23:56:06 +04:00
|
|
|
PROG= expr
|
1993-08-06 05:20:44 +04:00
|
|
|
# XXX bsd.prog.mk should be able to generate this from expr.y without SRCS
|
|
|
|
SRCS= expr.c
|
1993-06-14 23:56:06 +04:00
|
|
|
CFLAGS+= -I.
|
|
|
|
CLEANFILES+= expr.c y.tab.h
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
expr.c:
|
|
|
|
${YACC} -d ${.IMPSRC}
|
|
|
|
mv y.tab.c expr.c
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|