summaryrefslogtreecommitdiff
path: root/ocamltest
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2022-03-22 17:49:19 +0100
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2022-03-22 18:12:02 +0100
commitdf4759a2205e85302fed1006e7509e73365cd4a1 (patch)
tree8eaf337b73192948fefddaf45e53b6b52e3f40fa /ocamltest
parent3a96f253cf76691ee8aa53090e4d7e710c4aeb0a (diff)
downloadocaml-df4759a2205e85302fed1006e7509e73365cd4a1.tar.gz
Build system: factorize the definitions related to ocamldep
Diffstat (limited to 'ocamltest')
-rw-r--r--ocamltest/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/ocamltest/Makefile b/ocamltest/Makefile
index f780199508..1b45ec3e38 100644
--- a/ocamltest/Makefile
+++ b/ocamltest/Makefile
@@ -198,9 +198,6 @@ ocamlc = $(BEST_OCAMLC) $(flags)
ocamlopt = $(BEST_OCAMLOPT) $(flags)
-OCAMLDEP ?= $(BEST_OCAMLDEP)
-OC_OCAMLDEPFLAGS = -slash
-
.SECONDARY: $(lexers:.mll=.ml) $(parsers:.mly=.mli) $(parsers:.mly=.ml)
.PHONY: all allopt opt.opt # allopt and opt.opt are synonyms
@@ -311,7 +308,6 @@ $(DEPDIR)/%.$(D): %.c | $(DEPDIR)
.PHONY: depend
depend: $(dependencies_generated_prereqs)
- $(OCAMLDEP) $(OC_OCAMLDEPFLAGS) $(OCAMLDEPFLAGS) \
- $(mli_files) $(ml_files) > .depend
+ $(OCAMLDEP_CMD) $(mli_files) $(ml_files) > .depend
-include .depend