From c9c068c36c124cd206edd25d963895b4eb9a9941 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 2 Mar 2010 12:56:45 +0100 Subject: [PATCH] Fix parallel compilation (sometimes it failed because of wrong order in lex/yacc) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5