mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Added missing files
This commit is contained in:
parent
8521ff30fa
commit
372b66aee8
4 changed files with 4 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,6 +2,4 @@
|
||||||
*.cmi
|
*.cmi
|
||||||
*.cmx
|
*.cmx
|
||||||
*.o
|
*.o
|
||||||
version.ml
|
|
||||||
stdpath.ml
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,7 @@ TOPFILE = lamac
|
||||||
OCAMLC = ocamlfind c
|
OCAMLC = ocamlfind c
|
||||||
OCAMLOPT = ocamlfind opt
|
OCAMLOPT = ocamlfind opt
|
||||||
OCAMLDEP = ocamlfind dep
|
OCAMLDEP = ocamlfind dep
|
||||||
PRE_SOURCES = Language.ml SM.ml X86.ml Driver.ml
|
SOURCES = version.ml stdpath.ml Language.ml SM.ml X86.ml Driver.ml
|
||||||
SOURCES = version.ml stdpath.ml $(PRE_SOURCES)
|
|
||||||
CAMLP5 = -syntax camlp5o -package ostap.syntax,GT.syntax.all
|
CAMLP5 = -syntax camlp5o -package ostap.syntax,GT.syntax.all
|
||||||
PXFLAGS = $(CAMLP5)
|
PXFLAGS = $(CAMLP5)
|
||||||
BFLAGS = -rectypes -g
|
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 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
|
echo "let path = \"`opam var share`/Lama\"" > stdpath.ml
|
||||||
|
|
||||||
.depend: $(PRE_SOURCES)
|
.depend: $(SOURCES)
|
||||||
$(OCAMLDEP) $(PXFLAGS) *.ml > .depend
|
$(OCAMLDEP) $(PXFLAGS) *.ml > .depend
|
||||||
|
|
||||||
$(TOPFILE): $(SOURCES:.ml=.cmx)
|
$(TOPFILE): $(SOURCES:.ml=.cmx)
|
||||||
|
|
|
||||||
1
src/stdpath.ml
Normal file
1
src/stdpath.ml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
let path = "/home/db/.opam/4.07.1+fp/share/Lama"
|
||||||
1
src/version.ml
Normal file
1
src/version.ml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
let version = "Version 1.00, b7271d16, Tue Feb 18 14:08:39 2020 +0300"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue