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
 | 
					$(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 $<
 | 
						$(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
 | 
					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
 | 
					dist-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue