aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/Makefile.coq-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mathcomp/ssreflect/Makefile.coq-makefile')
-rw-r--r--mathcomp/ssreflect/Makefile.coq-makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/mathcomp/ssreflect/Makefile.coq-makefile b/mathcomp/ssreflect/Makefile.coq-makefile
new file mode 100644
index 0000000..99f3d6b
--- /dev/null
+++ b/mathcomp/ssreflect/Makefile.coq-makefile
@@ -0,0 +1,9 @@
+define coqmakefile
+ (echo "Generating Makefile.coq for Coq $(V) with COQBIN=$(COQBIN)";\
+ ln -sf plugin/$(V)/ssreflect.mllib .;\
+ ln -sf plugin/$(V)/ssrmatching.mli .;\
+ ln -sf plugin/$(V)/ssrmatching.ml4 .;\
+ ln -sf plugin/$(V)/ssreflect.ml4 .;\
+ $(COQBIN)coq_makefile -f Make -o Makefile.coq)
+endef
+