Skip to content

Commit

Permalink
Make target for bytecode
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejbauer committed Nov 8, 2012
1 parent dcd1ac5 commit 98145ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
all:
default: native

native:
ocamlbuild -lib unix -use-menhir tt.native

byte:
ocamlbuild -lib unix -use-menhir tt.byte

clean:
ocamlbuild -clean

Expand Down
4 changes: 3 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ The hierarchy of universes is not commulative, i.e., even though `Type k` has ty

## Compilation

You need `ocamlbuild`, which is part of OCaml, `menhir`, and `make`. You can type
You need `ocamlbuild`, which is part of OCaml, the `menhir` parser generator, and `make`.
You can type

* `make` to make the `tt.native` executable.
* `make byte` to make the bytecode `tt.byte` executable.
* `make clean` to clean up.
* `make doc` to generate HTML documentation (see the generated `tt.docdir/index.html`).

Expand Down

0 comments on commit 98145ff

Please sign in to comment.