Source

js-elisp / Makefile

LIB=/usr/local/lib/ocaml/site-lib

PP='camlp4o $(LIB)/type-conv/pa_type_conv.cma $(LIB)/sexplib/pa_sexp_conv.cma $(LIB)/fieldslib/pa_fields_conv.cma $(LIB)/pa_pipebang/pa_pipebang.cma'

OCAMLOPT=ocamlfind ocamlopt -thread -w @a-4-7-9-29-28 \
        -pp $(PP) \
        -strict-sequence -annot -inline 20 -nodynlink -g \
	-package core -package core_extended -package async -package pcre \

%.cmx : %.ml %.mli
	$(OCAMLOPT) -c $<i
	$(OCAMLOPT) -c $<

omake_server.exe : process.cmx omake.cmx omake_server.cmx
	$(OCAMLOPT) -linkpkg -o omake_server.exe $^

# Check whether the files compile without warnings or errors

check-files = omake-lib.el omake.el
check : *.el
	emacs -batch -q --no-site-file -f batch-byte-compile $(check-files)

clean :
	rm -f *.exe *.cmx *.cmi *.spit *.spot *.o *.annot *.omc *.elc
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.