aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mathcomp/Makefile')
-rw-r--r--mathcomp/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mathcomp/Makefile b/mathcomp/Makefile
index 11419d3..c5a0a3b 100644
--- a/mathcomp/Makefile
+++ b/mathcomp/Makefile
@@ -17,6 +17,12 @@ else
V=$(BRANCH_coq)
endif
+ifeq "$V" "v8.4"
+COQDEP=../etc/utils/ssrcoqdep
+else
+COQDEP=$(COQBIN)/coqdep
+endif
+
OLD_MAKEFLAGS:=$(MAKEFLAGS)
MAKEFLAGS+=-B
@@ -24,10 +30,10 @@ MAKEFLAGS+=-B
%:
$(H)[ -e Makefile.coq ] || $(call coqmakefile)
- # Override COQDEP to find only the "right" copy of .ml files
+ # Override COQDEP to find only the "right" copy .ml files
$(H)MAKEFLAGS=$(OLD_MAKEFLAGS) $(MAKE) --no-print-directory \
-f Makefile.coq $* \
- COQDEP='$(COQBIN)/coqdep -exclude-dir "plugin" -c'
+ COQDEP='$(COQDEP) -exclude-dir plugin -c'
define coqmakefile
(echo "Generating Makefile.coq for Coq $(V) with COQBIN=$(COQBIN)";\