aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-06-01 14:46:26 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2016-06-01 14:49:27 +0200
commitad66acf99a85cf1dee3bb56f70121130c090b0c4 (patch)
treefdbed1d2d46025b8c73eaf1b443ed6830669ff28
parentf1f70008276d540f7854e50e5f4aa762387d2281 (diff)
Makefile.build : follow-up of previous commit
- the particlar rule for dev/printers.cma is adapted as for %.cma:%.mllib - some more removal of | .d in rules
-rw-r--r--Makefile.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.build b/Makefile.build
index 35e02337e..bf0329ba2 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -961,12 +961,12 @@ $(OCAMLDOCDIR)/%.pdf: $(OCAMLDOCDIR)/%.tex
### Special rules
###########################################################################
-dev/printers.cma: | dev/printers.mllib.d
+dev/printers.cma: dev/printers.mllib
$(SHOW)'Testing $@'
- $(HIDE)$(OCAMLC) $(MLINCLUDES) $(BYTEFLAGS) -thread $(SYSCMA) $(P4CMA) $^ -o test-printer
+ $(HIDE)$(OCAMLC) $(MLINCLUDES) $(BYTEFLAGS) -thread $(SYSCMA) $(P4CMA) $(filter-out %.mllib, $^) -o test-printer
@rm -f test-printer
$(SHOW)'OCAMLC -a $@'
- $(HIDE)$(OCAMLC) $(MLINCLUDES) $(BYTEFLAGS) -thread $(SYSCMA) $(P4CMA) $^ -linkall -a -o $@
+ $(HIDE)$(OCAMLC) $(MLINCLUDES) $(BYTEFLAGS) -thread $(SYSCMA) $(P4CMA) $(filter-out %.mllib, $^) -linkall -a -o $@
ide/coqide_main.ml: ide/coqide_main.ml4 config/Makefile # no camlp4deps here
$(SHOW)'CAMLP4O $<'
@@ -1072,7 +1072,7 @@ $(MLWITHOUTMLI:.ml=.cmx): %.cmx: %.cmi # for .ml with .mli this is already the
$(MLWITHOUTMLI:.ml=.cmi): %.cmi: %.cmo
-%.cmx: %.ml | %.ml.d
+%.cmx: %.ml
$(SHOW)'OCAMLOPT $<'
$(HIDE)$(OCAMLOPT) $(COND_OPTFLAGS) $(HACKMLI) -c $<
@@ -1102,7 +1102,7 @@ plugins/%_mod.ml: plugins/%.mllib
$(HIDE)$(CAMLP4O) $(CAMLP4FLAGS) $(PR_O) \
$(CAMLP4DEPS) $(CAMLP4USE) $(CAMLP4COMPAT) -impl $< -o $@
-%.vo %.glob: %.v theories/Init/Prelude.vo $(VO_TOOLS_DEP) | %.v.d
+%.vo %.glob: %.v theories/Init/Prelude.vo $(VO_TOOLS_DEP)
$(SHOW)'COQC $<'
$(HIDE)rm -f $*.glob
$(HIDE)$(BOOTCOQC) $<