freebsd-src/usr.bin/compile_et/Makefile
Bruce Evans e1d3476a8e Don't use beforedepend to break things. The usual fix of putting
generated sources in SRCS breaks because compile_et uses an evil
include of one .c file in another.  Use a worse fix.  Perhaps
DPSRCS is useful after all.

Don't put *.y in SRCS.  Put the generated file in SRCS instead.
This fixes incomplete dependencies (mkdep can't work on *.y).

Don't override the default .l.c rule.  Just use LFLAGS.

Fixed some style bugs.
1998-03-20 16:21:39 +00:00

16 lines
317 B
Makefile

# $Id: Makefile,v 1.7 1997/02/22 19:54:44 peter Exp $
PROG= compile_et
SRCS= compile_et.c error_table.c
CFLAGS+=-I. -I${.CURDIR}/../../lib/libcom_err
LFLAGS+=-l
DPADD= ${LIBL}
LDADD= -ll
CLEANFILES= error_table.c et_lex.lex.c y.tab.h
error_table.o: et_lex.lex.c
.include <bsd.prog.mk>
${DEPENDFILE}: et_lex.lex.c