planck / pa_bind_inline / OMakefile

.PHONY: all install clean

USE_OCAMLFIND = true

OCAMLPACKS[] =
	camlp4

NATIVE_ENABLED = $(OCAMLOPT_EXISTS)
BYTE_ENABLED = true

FILES[] =
	pa_bind_inline

LIB = pa_bind_inline

.DEFAULT: $(OCamlLibrary $(LIB), $(FILES))

clean:
	rm $(filter-proper-targets $(ls R, .))

OCAMLDEPFLAGS=-pp camlp4of
OCAMLPPFLAGS=-pp camlp4of

top_test: pa_bind_inline.cma
	ocaml -I +camlp4 dynlink.cma camlp4o.cma pa_bind_inline.cma 

.PHONY: test

test: pa_bind_inline.cma
	camlp4o -printer OCaml -I . pa_bind_inline.cma test_pa_bind_inline.ml  

# It is local use

# install: pa_bind_inline.cma pa_bind_inline.cmxa
# 	ocamlfind remove bind_inline
# 	ocamlfind install bind_inline META pa*.cmo pa*.cmx pa*.cmi pa*.cma pa*.cmxa
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.