X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile;h=88284f6882399a4972cce525104865cfabbe5bc8;hb=67839c39351c9e191dd72c36d33979ca5f84f99c;hp=903d26ba316da1f630ee5f9beb84fdc0f2a71e7c;hpb=50790d6953d8bc68fd373f1c09949f7bff385050;p=goaljobs-goals.git diff --git a/Makefile b/Makefile index 903d26b..88284f6 100644 --- a/Makefile +++ b/Makefile @@ -3,20 +3,32 @@ # 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 +#pkgdir = ../goaljobs ifeq ($(pkgdir),) -goaljobs = goaljobs +goaljobs = goaljobs --package pcre,extlib else -goaljobs = $(pkgdir)/goaljobs --pkgdir=$(pkgdir) +goaljobs = $(pkgdir)/goaljobs --pkgdir=$(pkgdir) --package pcre,extlib endif -all: \ +programs = \ fedora_ocaml_rebuild \ - libguestfs_upstream + libguestfs_upstream \ + libguestfs_fedora -fedora_ocaml_rebuild: config.ml utils.ml fedora.ml fedora_ocaml_rebuild.ml - $(goaljobs) --package pcre,extlib $^ -o $@ +all: $(programs) -libguestfs_upstream: config.ml libguestfs_upstream.ml +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: