From ad81c04a923c594b7a893f08bb5571a6db74c92a Mon Sep 17 00:00:00 2001 From: Matej Kosik Date: Wed, 12 Oct 2016 16:37:16 +0200 Subject: Converting certain "order-only" (Makefile) dependencies to regular dependencies. For some reason "grammar/grammar.cma" was declares only an "order-only" dependency for "*.ml" files generated from "*.ml4". I this that this is a problem because when we change "grammar/*.mlp" files, even tough "grammar/grammar.cma" is regenerated, the actual "*.ml" files (defined by "*.ml4" as well as "grammar/grammar.cma") are not regenerated. --- Makefile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.build') diff --git a/Makefile.build b/Makefile.build index 228b2e736..9d76638e1 100644 --- a/Makefile.build +++ b/Makefile.build @@ -597,7 +597,7 @@ plugins/%.cmx: plugins/%.ml $(SHOW)'OCAMLLEX $<' $(HIDE)$(OCAMLLEX) -o $@ "$*.mll" -%.ml: %.ml4 | $(CAMLP4DEPS) +%.ml: %.ml4 $(CAMLP4DEPS) $(SHOW)'CAMLP4O $<' $(HIDE)$(CAMLP4O) -I $(MYCAMLP4LIB) $(PR_O) \ $(CAMLP4DEPS) $(CAMLP4USE) $(CAMLP4COMPAT) -impl $< -o $@ -- cgit v1.2.3