diff options
author | Shea Levy <shea@shealevy.com> | 2014-02-15T16·02-0500 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-18T16·31+0100 |
commit | a7e70518b8d0cb9a72cb3733b563b49caf922966 (patch) | |
tree | 5cd8ff4c7a36b7bcb106260137c82c6cac5d0762 /src | |
parent | 70a558e20250f7c865fd36c1c678192fe29d088f (diff) |
lexer-tab.o and parser-tab.o require each other's headers
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/local.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libexpr/local.mk b/src/libexpr/local.mk index 431f84b0999e..b3b4086916ef 100644 --- a/src/libexpr/local.mk +++ b/src/libexpr/local.mk @@ -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 |