Ignore dead ocaml-* packages.
[goaljobs-goals.git] / Makefile
1 # Is it ironic that we use a Makefile to build these goals?
2
3 # Comment out the next line if goaljobs is installed.  If it is not
4 # installed, change the path to the location of the goaljobs build
5 # directory.
6 pkgdir = ../goaljobs
7
8 ifeq ($(pkgdir),)
9 goaljobs = goaljobs --package pcre,extlib
10 else
11 goaljobs = $(pkgdir)/goaljobs --pkgdir=$(pkgdir) --package pcre,extlib
12 endif
13
14 programs = \
15         fedora_ocaml_rebuild \
16         libguestfs_upstream \
17         libguestfs_fedora
18
19 all: $(programs)
20
21 fedora_ocaml_rebuild: config.ml utils.ml git.ml fedora.ml fedora_ocaml_rebuild.ml
22         $(goaljobs) $^ -o $@
23
24 libguestfs_upstream: config.ml utils.ml libguestfs.ml libguestfs_upstream.ml
25         $(goaljobs) $^ -o $@
26
27 libguestfs_fedora: config.ml utils.ml git.ml fedora.ml libguestfs.ml libguestfs_fedora.ml
28         $(goaljobs) $^ -o $@
29
30 clean:
31         rm -f $(programs) *.cmi *.cmx *.o *~
32
33 # Parallel building is broken in this Makefile.
34 .NOTPARALLEL: