summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2008-04-14 17:46:15 +0100
committerRichard W.M. Jones <rjones@redhat.com>2008-04-14 17:46:15 +0100
commite4450db8fa0bdf31f3bf50062295b801a6a803ab (patch)
tree2cf9fa9be62cc3f5989eb9591815bf3e533507e3
parent5c18720b51f3938cea534f97fbcfcaabff10d7e1 (diff)
downloadvirt-top-e4450db8fa0bdf31f3bf50062295b801a6a803ab.zip
virt-top-e4450db8fa0bdf31f3bf50062295b801a6a803ab.tar.gz
virt-top-e4450db8fa0bdf31f3bf50062295b801a6a803ab.tar.xz
Allow extra OCAMLDEPFLAGS to be passed, eg to make syntax extensions possible.
-rw-r--r--Make.rules.in4
1 files changed, 2 insertions, 2 deletions
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)