about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-22T22·23+0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-22T22·23+0200
commitc651b7bdc996a18688c5e5dd5dd84eeeb8d3376d (patch)
tree3a7be4061846db3205ad9ec97816cc643830c4ab /src
parent1b01954a3de482a8c3cf0a4af8796505ebcf521b (diff)
Revert "Fix parser/lexer generation with parallel make"
This reverts commit d277442df53a01343ba7c1df0bbd2a294058dcba.

Make sucks.
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/local.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libexpr/local.mk b/src/libexpr/local.mk
index 78c8b0deae60..daa3258f0d3c 100644
--- a/src/libexpr/local.mk
+++ b/src/libexpr/local.mk
@@ -20,14 +20,10 @@ libexpr_LDFLAGS_PROPAGATED = $(BDW_GC_LIBS)
 
 libexpr_ORDER_AFTER := $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh
 
-$(d)/parser-tab.hh: $(d)/parser-tab.cc
-
-$(d)/parser-tab.cc: $(d)/parser.y
+$(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y
 	$(trace-gen) bison -v -o $(libexpr_DIR)/parser-tab.cc $< -d
 
-$(d)/lexer-tab.hh: $(d)/lexer-tab.cc
-
-$(d)/lexer-tab.cc: $(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 $<
 
 clean-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh