]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes parallel runs of Bison.
authorOndrej Zajicek <santiago@crfreenet.org>
Mon, 10 Aug 2009 12:13:28 +0000 (14:13 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Mon, 10 Aug 2009 12:13:28 +0000 (14:13 +0200)
Previous version of Makefile executed Bison two times (in parallel),
because of two specified targets. I am not sure wheter this is the best
fix.

Previon

conf/Makefile

index b3d921d3fa20dd78d53a9a36b3f35d959f18e340..96975eb184ed63ebfccb5d8760710a62a972ff8f 100644 (file)
@@ -11,7 +11,9 @@ BISON_DEBUG=-t
 #FLEX_DEBUG=-d
 endif
 
-cf-parse.tab.c cf-parse.tab.h: cf-parse.y
+cf-parse.tab.h: cf-parse.tab.c
+
+cf-parse.tab.c: cf-parse.y
        $(BISON) -bcf-parse -dv -pcf_ $(BISON_DEBUG) cf-parse.y
 
 cf-parse.y: $(conf-fragments) $(conf-src)/gen_parser.m4