Revert "Fix parser/lexer generation with parallel make"

This reverts commit d277442df5.

Make sucks.
This commit is contained in:
Eelco Dolstra 2018-08-23 00:23:35 +02:00
parent 1b01954a3d
commit c651b7bdc9
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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