From e16dafd4374edce11fe3b2a6778b5a058f44b87f Mon Sep 17 00:00:00 2001 From: lmamane Date: Wed, 18 Jul 2007 14:58:41 +0000 Subject: Makefile: needs GNU Make 3.81 git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10020 85f007b7-540e-0410-9357-904b9bb8a0f7 --- INSTALL | 22 +++++++++++++++++++--- Makefile.build | 4 ++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index da1ec753e..f5e2ca8da 100644 --- a/INSTALL +++ b/INSTALL @@ -38,10 +38,26 @@ WHAT DO YOU NEED ? - Objective Caml version 3.07 or later (available at http://caml.inria.fr/) - - GNU Make version 3.80 or later - (available at http://www.gnu.org/software/make/, but also a + - GNU Make version 3.81 or later + ( + available at http://www.gnu.org/software/make/, but also a standard or optional add-on part to most Unices and Unix - clones, sometimes under the name "gmake".) + clones, sometimes under the name "gmake". + + If a new enough version is not included in your system, nor + easily available as an add-on, this should get you a working + make: + + #Download it (wget is an example, use your favourite FTP or HTTP client) + wget http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2 + bzip9 -cd make-3.81.tar.bz2 | tar x + #If you don't have bzip2, you can download the gzipped version instead. + cd make-3.81 + ./configure --prefix=$(HOME) + make install + + Then, make sure that $(HOME)/bin is first in your $PATH. + ) - a C compiler diff --git a/Makefile.build b/Makefile.build index 3e92347e5..f246e20ed 100644 --- a/Makefile.build +++ b/Makefile.build @@ -104,6 +104,10 @@ endef $(foreach f,$(.FEATURES),$(eval $(call order-only-template,$(f)))) +ifndef ORDER_ONLY_SEP +$(error This Makefile needs GNU Make 3.81 or later (that is a version that supports the order-only dependency feature without major bugs.)) +endif + VO_TOOLS_DEP := $(BESTCOQTOP) ifdef COQ_XML VO_TOOLS_DEP += $(COQDOC) -- cgit v1.2.3