diff options
Diffstat (limited to 'mathcomp/ssreflect/Makefile.coq-makefile')
| -rw-r--r-- | mathcomp/ssreflect/Makefile.coq-makefile | 10 |
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 |
