mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 08:33:20 +00:00
e1d3476a8e
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.
16 lines
317 B
Makefile
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
|