# Is it ironic that we use a Makefile to build these goals? # Comment out the next line if goaljobs is installed. If it is not # installed, change the path to the location of the goaljobs build # directory. pkgdir = ../goaljobs ifeq ($(pkgdir),) goaljobs = goaljobs --package pcre,extlib else goaljobs = $(pkgdir)/goaljobs --pkgdir=$(pkgdir) --package pcre,extlib endif programs = \ fedora_ocaml_rebuild \ libguestfs_upstream \ libguestfs_fedora all: $(programs) fedora_ocaml_rebuild: config.ml utils.ml git.ml fedora.ml fedora_ocaml_rebuild.ml $(goaljobs) $^ -o $@ libguestfs_upstream: config.ml utils.ml libguestfs.ml libguestfs_upstream.ml $(goaljobs) $^ -o $@ libguestfs_fedora: config.ml utils.ml git.ml fedora.ml libguestfs.ml libguestfs_fedora.ml $(goaljobs) $^ -o $@ clean: rm -f $(programs) *.cmi *.cmx *.o *~ # Parallel building is broken in this Makefile. .NOTPARALLEL: