summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-27 19:02:14 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-27 19:02:14 +0100
commitf4a7c3a1aa4190c277865a345b3766c09a39fb2f (patch)
treeb13c0d280533de98f241333906199908d0e6eec1 /src/Makefile
parentc493781bfc4c3c35e536d337e1cbb14c93623733 (diff)
downloadLPC-Projet-f4a7c3a1aa4190c277865a345b3766c09a39fb2f.tar.gz
LPC-Projet-f4a7c3a1aa4190c277865a345b3766c09a39fb2f.zip
Conform to specification
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..4f15695
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,12 @@
+BIN=minic++
+
+all: $(BIN)
+
+$(BIN): main.byte
+ cp main.byte minic++
+
+main.byte: main.ml ast.ml parser.mly lexer.mll pretty.ml
+ ocamlbuild main.byte
+
+clean:
+ rm -r _build