aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/Makefile.coq-makefile
diff options
context:
space:
mode:
authorEnrico Tassi2015-07-28 11:16:38 +0200
committerEnrico Tassi2015-07-28 11:17:04 +0200
commit2e6d512c29c72bb220dacabc79392334283d604e (patch)
tree82c553a6b1b7bb09c48d909c72ad9529835870c6 /mathcomp/ssreflect/Makefile.coq-makefile
parentab806317d7f364eaf74a3a23e25abd37882b2be5 (diff)
factor common Makefile stuff
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
+