From: Michael Stapelberg Date: Tue, 2 Mar 2010 11:56:45 +0000 (+0100) Subject: Fix parallel compilation (sometimes it failed because of wrong order in lex/yacc) X-Git-Tag: 3.e~6^2~136 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9c068c36c124cd206edd25d963895b4eb9a9941;p=i3%2Fi3 Fix parallel compilation (sometimes it failed because of wrong order in lex/yacc) --- diff --git a/Makefile b/Makefile index 6e07d080..73a33d3e 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ loglevels.h: done; \ echo "};") > include/loglevels.h; -src/cfgparse.yy.o: src/cfgparse.l ${HEADERS} +src/cfgparse.yy.o: src/cfgparse.l src/cfgparse.y.o ${HEADERS} echo "LEX $<" flex -i -o$(@:.o=.c) $< $(CC) $(CFLAGS) -DLOGLEVEL="(1 << $(shell awk '/cfgparse.l/ { print NR }' loglevels.tmp))" -c -o $@ $(@:.o=.c)