Commits

camlspotter  committed 32a704f

added OCAML_VERSION

  • Participants
  • Parent commits e8f61e8

Comments (0)

Files changed (1)

 #|Path to the OCaml library directory
 OCAML_WHERE = $(shell ocamlc -where)
 
+# OCaml -version
+# ========================================================================
+
+#|Version without extensions
+OCAML_VERSION = $(shell ocamlc -version | sed -e 's/^\([0-9.]*\).*/\1/')
+
 # OCamlFind
 # ========================================================================