]> git.sur5r.net Git - i3/i3/commitdiff
Fix parallel compilation (sometimes it failed because of wrong order in lex/yacc)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Mar 2010 11:56:45 +0000 (12:56 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Mar 2010 11:56:45 +0000 (12:56 +0100)
Makefile

index 6e07d08054e9a396d8bca841fe13826f06e00d8e..73a33d3e63e7bfb1ccaf08a8f70485005f3533a9 100644 (file)
--- 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)