Fix parallel compilation issue when building lexer/parser.

This commit is contained in:
Nathan Phillip Brink 2011-07-14 08:23:33 -04:00 committed by JD Horelick
parent 84cda210f0
commit c8e67ef406
1 changed files with 2 additions and 1 deletions

View File

@ -46,8 +46,9 @@ y.tab.o: y.tab.c ircd_parser.y
# Note GNU bison uses <file>.tab.c not y.tab.c
y.tab.c: ircd_parser.y
${YACC} -d ircd_parser.y
y.tab.h: y.tab.c
lex.yy.o: lex.yy.c ircd_lexer.l
lex.yy.o: lex.yy.c ircd_lexer.l y.tab.h
${CC} ${CPPFLAGS} ${PICFLAGS} ${CFLAGS} -I. -c lex.yy.c
lex.yy.c: ircd_lexer.l