From: Richard W.M. Jones Date: Thu, 26 Sep 2013 21:37:48 +0000 (+0100) Subject: Implement 'make clean' rule. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b63bcefe6f27357e18c4b567287b8ac67fb9b839;p=goaljobs-goals.git Implement 'make clean' rule. --- diff --git a/Makefile b/Makefile index a9b99eb..55fdc67 100644 --- a/Makefile +++ b/Makefile @@ -11,12 +11,17 @@ else goaljobs = $(pkgdir)/goaljobs --pkgdir=$(pkgdir) endif -all: \ +programs = \ fedora_ocaml_rebuild \ libguestfs_upstream +all: $(programs) + fedora_ocaml_rebuild: config.ml utils.ml git.ml fedora.ml fedora_ocaml_rebuild.ml $(goaljobs) --package pcre,extlib $^ -o $@ libguestfs_upstream: config.ml libguestfs_upstream.ml $(goaljobs) $^ -o $@ + +clean: + rm -f $(programs) *.cmi *.cmx *.o *~