aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/Makefile.coq-makefile
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-07 11:23:13 +0200
committerGitHub2017-06-07 11:23:13 +0200
commit91a31b33e198ae7e1a492931963d6daef52957e5 (patch)
tree6480095ba152ff892d21dc476dd969aa59cb9e04 /mathcomp/ssreflect/Makefile.coq-makefile
parent661b791747c6d1784160ee289945d336b54239e2 (diff)
parentcd7ba12978ee90c2bf1e59584ebf95e9ed275fb2 (diff)
Merge pull request #129 from maximedenes/ssr-merge
Ssr merge
Diffstat (limited to 'mathcomp/ssreflect/Makefile.coq-makefile')
-rw-r--r--mathcomp/ssreflect/Makefile.coq-makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mathcomp/ssreflect/Makefile.coq-makefile b/mathcomp/ssreflect/Makefile.coq-makefile
index e4f12ad..f0eeaf9 100644
--- a/mathcomp/ssreflect/Makefile.coq-makefile
+++ b/mathcomp/ssreflect/Makefile.coq-makefile
@@ -1,7 +1,7 @@
define coqmakefile
(echo "Generating Makefile.coq for Coq $(V) with COQBIN=$(COQBIN)";\
if [ "$$OS" = "Windows_NT" ]; then LN=cp; else LN="ln -sf"; fi;\
- MLLIB=ssreflect_plugin.mlpack;\
+ MLLIB=;\
EXTRA=;\
case $(V) in\
v8.5*|v8.4*)\
@@ -9,14 +9,16 @@ define coqmakefile
$$LN $(1)/plugin/$(V)/ssrmatching.ml4 .;\
$$LN $(1)/plugin/$(V)/ssrmatching.v .;\
$$LN $(1)/plugin/$(V)/ssreflect_plugin.mllib .;\
- EXTRA="ssrmatching.mli ssrmatching.ml4 ssrmatching.v";\
+ EXTRA="ssrmatching.mli ssrmatching.ml4 ssrmatching.v ssreflect.ml4";\
MLLIB=ssreflect_plugin.mllib;\
+ $$LN $(1)/plugin/$(V)/ssreflect.ml4 .;\
;;\
- *)\
+ v8.6*)\
$$LN $(1)/plugin/$(V)/ssreflect_plugin.mlpack .;\
+ $$LN $(1)/plugin/$(V)/ssreflect.ml4 .;\
+ MLLIB=ssreflect_plugin.mlpack;\
;;\
esac;\
- $$LN $(1)/plugin/$(V)/ssreflect.ml4 .;\
$(COQBIN)coq_makefile -f Make $$MLLIB $$EXTRA -o Makefile.coq)
endef