Skip to content

Instantly share code, notes, and snippets.

@takeisa
Last active August 29, 2015 14:05
Show Gist options
  • Save takeisa/c00f6d2e9250bc05df81 to your computer and use it in GitHub Desktop.
Save takeisa/c00f6d2e9250bc05df81 to your computer and use it in GitHub Desktop.
OCaml ulex and menhir make file
===Makefile===
default: native
native:
ocamlbuild -use-ocamlfind -yaccflags --explain main.native
clean:
ocamlbuild -clean
===_tags===
true : use_ocamlfind, use_menhir, annot, thread
<lexer.ml> : syntax(camlp4o), package(ulex), package(core)
<parser.ml> : package(menhirLib), package(ulex)
<*.{native,byte}>: package(ulex), package(menhirLib), package(core), use_str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment