From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Mon, 14 Apr 2008 16:46:15 +0000 (+0100) Subject: Allow extra OCAMLDEPFLAGS to be passed, eg to make syntax extensions possible. X-Git-Tag: 1.0.4~24^2~37 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=e4450db8fa0bdf31f3bf50062295b801a6a803ab;p=virt-top.git Allow extra OCAMLDEPFLAGS to be passed, eg to make syntax extensions possible. --- diff --git a/Make.rules.in b/Make.rules.in index 6a56728..b22fdf6 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -47,11 +47,11 @@ depend: .depend ifneq ($(OCAMLFIND),) .depend: $(wildcard *.mli) $(wildcard *.ml) rm -f .depend - $(OCAMLFIND) ocamldep $(OCAMLCPACKAGES) $^ > $@ + $(OCAMLFIND) ocamldep $(OCAMLCPACKAGES) $(OCAMLDEPFLAGS) $^ > $@ else .depend: $(wildcard *.mli) $(wildcard *.ml) rm -f .depend - $(OCAMLDEP) $(OCAMLCINCS) $^ > $@ + $(OCAMLDEP) $(OCAMLCINCS) $(OCAMLDEPFLAGS) $^ > $@ endif ifeq ($(wildcard .depend),.depend)