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 Nathan Phillip Brink
parent f02e3a2628
commit 414c5f7d9b

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 # Note GNU bison uses <file>.tab.c not y.tab.c
y.tab.c: ircd_parser.y y.tab.c: ircd_parser.y
${YACC} -d 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 ${CC} ${CPPFLAGS} ${PICFLAGS} ${CFLAGS} -I. -c lex.yy.c
lex.yy.c: ircd_lexer.l lex.yy.c: ircd_lexer.l