lexer-tab.o and parser-tab.o require each other's headers

This commit is contained in:
Shea Levy 2014-02-15 11:02:47 -05:00 committed by Eelco Dolstra
parent 70a558e202
commit a7e70518b8
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ $(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y
$(d)/lexer-tab.cc $(d)/lexer-tab.hh: $(d)/lexer.l
$(trace-gen) flex --outfile $(libexpr_DIR)/lexer-tab.cc --header-file=$(libexpr_DIR)/lexer-tab.hh $<
$(d)/lexer-tab.o: $(d)/lexer-tab.hh $(d)/parser-tab.hh
$(d)/parser-tab.o: $(d)/lexer-tab.hh $(d)/parser-tab.hh
clean-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh
dist-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh