15 lines
271 B
Makefile
15 lines
271 B
Makefile
# $Id: Makefile,v 1.9 1993/11/11 01:30:19 jtc Exp $
|
|
|
|
PROG= expr
|
|
# XXX bsd.prog.mk should be able to generate this from expr.y without SRCS
|
|
SRCS= expr.c
|
|
CFLAGS+= -I.
|
|
CLEANFILES+= expr.c y.tab.h
|
|
|
|
expr.c:
|
|
${YACC} -d ${.IMPSRC}
|
|
mv y.tab.c expr.c
|
|
|
|
.include <bsd.prog.mk>
|
|
|