Fixes parallel runs of Bison.

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
This commit is contained in:
Ondrej Zajicek 2009-08-10 14:13:28 +02:00
parent f2cfc50996
commit ea9097eaad

View file

@ -11,7 +11,9 @@ BISON_DEBUG=-t
#FLEX_DEBUG=-d #FLEX_DEBUG=-d
endif 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 $(BISON) -bcf-parse -dv -pcf_ $(BISON_DEBUG) cf-parse.y
cf-parse.y: $(conf-fragments) $(conf-src)/gen_parser.m4 cf-parse.y: $(conf-fragments) $(conf-src)/gen_parser.m4