From 88a7cec2e644c6d890f68133ed8fd6362e5beeab Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Mon, 23 Nov 2015 21:11:19 +0000 Subject: [PATCH] Makefile.am: lexer dependends on bison-generated parser; fixed rule order. --- re2c/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/re2c/Makefile.am b/re2c/Makefile.am index dcbb4715..083c1627 100644 --- a/re2c/Makefile.am +++ b/re2c/Makefile.am @@ -199,6 +199,10 @@ $(AUTOGEN_PARSER): $(CUSTOM_PARSER) $(top_srcdir)/$(CUSTOM_PARSER); \ fi +# lexer depends on bison-generated header +# so bison rule must be triggered before lexer rule +$(AUTOGEN_LEX): $(AUTOGEN_PARSER) + $(BOOTSTRAP_PARSER): $(CUSTOM_PARSER) @test $(BISON) == "no" || \ $(BISON) \ -- 2.40.0