# virt-df
-# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones
+# Copyright (C) 2007-2008 Red Hat Inc., Richard W.M. Jones
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
opt: $(OPT_TARGETS)
-virt-df: $(OBJS)
+virt-df: $(OBJS) ../lib/diskimage.cma
ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \
- -o $@ $^
+ -o $@ $(OBJS)
-virt-df.opt: $(XOBJS)
+virt-df.opt: $(XOBJS) ../lib/diskimage.cmxa
ocamlfind ocamlopt \
$(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \
- -o $@ $^
+ -o $@ $(XOBJS)
# Manual page.
ifeq ($(HAVE_PERLDOC),perldoc)