Added missing files

This commit is contained in:
Dmitry Boulytchev 2020-02-19 17:43:44 +03:00
parent 8521ff30fa
commit 372b66aee8
4 changed files with 4 additions and 5 deletions

2
.gitignore vendored
View file

@ -2,6 +2,4 @@
*.cmi
*.cmx
*.o
version.ml
stdpath.ml

View file

@ -2,8 +2,7 @@ TOPFILE = lamac
OCAMLC = ocamlfind c
OCAMLOPT = ocamlfind opt
OCAMLDEP = ocamlfind dep
PRE_SOURCES = Language.ml SM.ml X86.ml Driver.ml
SOURCES = version.ml stdpath.ml $(PRE_SOURCES)
SOURCES = version.ml stdpath.ml Language.ml SM.ml X86.ml Driver.ml
CAMLP5 = -syntax camlp5o -package ostap.syntax,GT.syntax.all
PXFLAGS = $(CAMLP5)
BFLAGS = -rectypes -g
@ -15,7 +14,7 @@ metagen:
echo "let version = \"Version `git rev-parse --abbrev-ref HEAD`, `git rev-parse --short HEAD`, `git rev-parse --verify HEAD |git show --no-patch --no-notes --pretty='%cd'`\"" > version.ml
echo "let path = \"`opam var share`/Lama\"" > stdpath.ml
.depend: $(PRE_SOURCES)
.depend: $(SOURCES)
$(OCAMLDEP) $(PXFLAGS) *.ml > .depend
$(TOPFILE): $(SOURCES:.ml=.cmx)

1
src/stdpath.ml Normal file
View file

@ -0,0 +1 @@
let path = "/home/db/.opam/4.07.1+fp/share/Lama"

1
src/version.ml Normal file
View file

@ -0,0 +1 @@
let version = "Version 1.00, b7271d16, Tue Feb 18 14:08:39 2020 +0300"