summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index f045726..e9cde1c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,11 +2,9 @@ BIN=minic++
all: $(BIN)
-$(BIN): main.byte
- cp main.byte minic++
-
-main.byte: main.ml ast.ml parser.mly lexer.mll pretty.ml typing.ml pretty_typing.ml
+$(BIN): main.ml ast.ml parser.mly lexer.mll pretty.ml typing.ml pretty_typing.ml
ocamlbuild main.byte
+ mv main.byte minic++
clean:
rm -r _build