Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wieczyk@posejdon: Code/StringPainter
- % cat META
- name = "stringpainter"
- version = "0.1"
- description = "Pretty printing combinators, designed for printing ASTs."
- archive(native) = "StringPainter.cmxa"
- archive(byte) = "StringPainter.cma"
- wieczyk@posejdon: Code/StringPainter
- % cat Makefile
- OCAMLBUILD= ocamlbuild
- OCAMLFIND = ocamlfind
- SOURCE_DIRS=\
- -Is src\
- DEMO_DIRS=\
- -Is demo\
- LIBS_=src/StringPainter.cma src/StringPainter.cmxa
- LIBS =_build/src/StringPainter.cma _build/src/StringPainter.cmxa
- DEMO=demo/Demo.native
- all: ${LIBS}
- install: ${LIBS}
- ${OCAMLFIND} install stringpainter META ${LIBS}
- ${LIBS}:
- ${OCAMLBUILD} ${SOURCE_DIRS} ${LIBS_}
- ${DEMO}:
- ${OCAMLBUILD} ${DEMO_DIRS} ${SOURCE_DIRS} ${DEMO}
- clean:
- ${OCAMLBUILD} ${DEMO_DIRS} ${SOURCE_DIRS} ${DEMO} -clean
Advertisement
Add Comment
Please, Sign In to add comment