Ownership using segment tree (not finished).
[virt-df.git] / virt-df / Makefile.in
index a2da6ce..16347fa 100644 (file)
@@ -1,5 +1,5 @@
 # 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
@@ -73,14 +73,14 @@ all: $(BYTE_TARGETS)
 
 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)