1 1.8 mycroft # $Id: Makefile,v 1.8 1993/08/06 01:20:44 mycroft Exp $ 2 1.3 cgd 3 1.5 jtc PROG= expr 4 1.8 mycroft # XXX bsd.prog.mk should be able to generate this from expr.y without SRCS 5 1.8 mycroft SRCS= expr.c 6 1.5 jtc CFLAGS+= -I. 7 1.5 jtc LDADD= -lgnuregex 8 1.5 jtc DPADD= /usr/lib/libgnuregex.a 9 1.5 jtc CLEANFILES+= expr.c y.tab.h 10 1.1 cgd 11 1.1 cgd expr.c: 12 1.1 cgd ${YACC} -d ${.IMPSRC} 13 1.1 cgd mv y.tab.c expr.c 14 1.1 cgd 15 1.1 cgd .include <bsd.prog.mk> 16 1.1 cgd 17