Commits

Sébastien Ferré committed 4f3d4f1

[makefile] use of ocamlfind

  • Participants
  • Parent commits 87727d8

Comments (0)

Files changed (1)

+OCAMLFIND=/local/ferre/.opam/system/bin/ocamlfind
 OCAMLLEX=ocamllex
-OCAMLC=ocamlc
-OCAMLOPT=ocamlopt
-INCLUDES=            # all relevant -I options here
+OCAMLC=$(OCAMLFIND) ocamlc
+OCAMLOPT=$(OCAMLFIND) ocamlopt
+INCLUDES= -package dbm           # all relevant -I options here
 #OCAMLFLAGS= -pp "camlp4o pa_op.cmo" -thread $(INCLUDES)    # add other options for ocamlc here
 OCAMLFLAGS= -pp camlp4o -thread $(INCLUDES)    # add other options for ocamlc here
 
 .SUFFIXES: .mll .ml .mli .cmo .cmi
 
 # Make all
-all: common.cmo threads_common.cmo unicode.cmo tokens.cmo lexer.cmo syntax.cmo bintree.cmo lSet.cmo cis.cmi cis.cmo iterator.cmo intmap.cmo intset.cmo intrel.cmo intreln.cmo text_index.cmo setset.cmo term.cmo cache.cmi cache.cmo ext.cmo logdag.cmi logdag.cmo suffix_tree.cmo index.cmo persindex.cmo genid.cmo persintset.cmo stringset.cmo seq.cmo seqset.cmo
+all: common.cmo threads_common.cmo unicode.cmo tokens.cmo lexer.cmo syntax.cmo bintree.cmo lSet.cmo cis.cmi cis.cmo iterator.cmo intmap.cmo intset.cmo intrel.cmo intreln.cmo text_index.cmo setset.cmo term.cmo cache.cmi cache.cmo ext.cmo suffix_tree.cmo index.cmo seq.cmo logdag.cmi logdag.cmo persindex.cmo genid.cmo persintset.cmo persintset.cmo stringset.cmo seqset.cmo
 	echo
 
 # archiving