summaryrefslogtreecommitdiff
path: root/usr.bin/compile_et/Makefile
blob: a2eff189709cd1aa80537e7f1467e195a0a65a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	$OpenBSD: Makefile,v 1.2 2000/02/19 12:07:17 hin Exp $

PROG=	compile_et
SRCS=	compile_et.c error_table.c et_lex.lex.l
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../lib/libcom_err
DPADD=	${LIBL}
LDADD=	-ll
CLEANFILES=error_table.h error_table.c y.tab.h et_lex.lex.c

error_table.h error_table.c:	error_table.y
	 ${YACC} -d -o error_table.c ${.CURDIR}/error_table.y

beforedepend:	et_lex.lex.c
error_table.o:	et_lex.lex.c

.include <bsd.prog.mk>