Fixed `make -jN' for large N. Just put the generated file y.tab.h in
SRCS and add a dummy rule to create it. This and cleaning of yacc output files should all be handled by bsd.prog.mk.
This commit is contained in:
parent
8408ce6f64
commit
99c91e5acc
@ -2,7 +2,7 @@
|
||||
|
||||
PROG= lint1
|
||||
SRCS= cgram.c scan.c mem1.c mem.c err.c main1.c decl.c tree.c func.c \
|
||||
init.c emit.c emit1.c
|
||||
init.c emit.c emit1.c y.tab.h
|
||||
NOMAN=
|
||||
LDADD+= -ll
|
||||
DPADD+= ${LIBL}
|
||||
@ -16,4 +16,6 @@ BINDIR= /usr/libexec
|
||||
# XXX: -O causes the gcc to die on the i386, when compiling tree.o
|
||||
CFLAGS+= -DXXX_BROKEN_GCC
|
||||
|
||||
y.tab.h: cgram.c
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user