At 18:06 -0600 14 Dec 2012, David Champion <[email protected]> wrote:
+version.h: FORCE
+       echo '#define MUTT_VERSION "'`sh "$(srcdir)/version.sh"`'"' > [email protected]
+       (cmp -s $@ [email protected]) && rm -f [email protected] || mv [email protected] $@
+FORCE:
+

.PHONY: version.h ?

I did it that way to try to be more portable. The docs for gnu make state:

        Using `.PHONY' is more explicit and more efficient.  However, other
        versions of `make' do not support `.PHONY'; thus `FORCE' appears in
        many makefiles.

Reply via email to