mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
lexer-tab.o and parser-tab.o require each other's headers
This commit is contained in:
parent
70a558e202
commit
a7e70518b8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue