From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Wed, 30 Apr 2008 13:30:02 +0000 (+0100) Subject: Rebuild if library changes. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=817ac8746e7e69df161e8ce45e1ee4a3282469d3;p=virt-df.git Rebuild if library changes. --- diff --git a/diskzip/Makefile.in b/diskzip/Makefile.in index 27f5ede..6cbc50e 100644 --- a/diskzip/Makefile.in +++ b/diskzip/Makefile.in @@ -61,14 +61,14 @@ all: $(BYTE_TARGETS) opt: $(OPT_TARGETS) -diskzip: $(OBJS) +diskzip: $(OBJS) ../lib/diskimage.cma ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \ - -o $@ $^ + -o $@ $(OBJS) -diskzip.opt: $(XOBJS) +diskzip.opt: $(XOBJS) ../lib/diskimage.cmxa ocamlfind ocamlopt \ $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \ - -o $@ $^ + -o $@ $(XOBJS) # Manual page. ifeq ($(HAVE_PERLDOC),perldoc) diff --git a/virt-df/Makefile.in b/virt-df/Makefile.in index 837bb99..16347fa 100644 --- a/virt-df/Makefile.in +++ b/virt-df/Makefile.in @@ -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)