Source

gp / src / Makefile


CNATIVE=ocamlfind ocamlopt -annot -package unix
CBYTE=ocamlfind ocamlc -package unix

byte:
	ocamlbuild -use-ocamlfind gp.cmo

native:
	ocamlbuild -use-ocamlfind gp.cmx

install:
	ocamlfind remove gp
	ocamlfind install gp META _build/gp.cmi \
	_build/gp.cmo _build/gp.cmx _build/gp.o

uninstall:
	ocamlfind remove gp

doc:
	ocamlbuild -use-ocamlfind gp.docdir/index.html
			
clean:
	ocamlbuild -clean

all: byte native doc install