Skip to content

Commit

Permalink
Revert "Fix parser/lexer generation with parallel make"
Browse files Browse the repository at this point in the history
This reverts commit d277442.

Make sucks.
  • Loading branch information
edolstra committed Aug 22, 2018
1 parent 1b01954 commit c651b7b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/libexpr/local.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit c651b7b

@Mic92
Copy link
Member

@Mic92 Mic92 commented on c651b7b Aug 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ninja instead?

Please sign in to comment.