mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
small changes
This commit is contained in:
parent
66f5a97f92
commit
62248928b2
2 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
(* vim:syntax=ocaml: *)
|
|
||||||
#use "topfind";;
|
#use "topfind";;
|
||||||
#thread
|
#thread
|
||||||
#directory "_build/";;
|
#directory "_build/";;
|
||||||
|
|
@ -7,3 +6,5 @@
|
||||||
#require "threads";;
|
#require "threads";;
|
||||||
#load "thread_containers.cma";;
|
#load "thread_containers.cma";;
|
||||||
open Gen.Infix;;
|
open Gen.Infix;;
|
||||||
|
(* vim:syntax=ocaml:
|
||||||
|
*)
|
||||||
|
|
|
||||||
5
Makefile
5
Makefile
|
|
@ -8,7 +8,7 @@ TARGET_DOC = containers.docdir/index.html
|
||||||
EXAMPLES = examples/mem_size.native examples/collatz.native examples/crawl.native
|
EXAMPLES = examples/mem_size.native examples/collatz.native examples/crawl.native
|
||||||
OPTIONS = -use-ocamlfind
|
OPTIONS = -use-ocamlfind
|
||||||
|
|
||||||
all: lib lib_thread
|
all: lib lib_thread doc
|
||||||
|
|
||||||
lib:
|
lib:
|
||||||
ocamlbuild $(OPTIONS) $(TARGETS_LIB) $(TARGET_DOC)
|
ocamlbuild $(OPTIONS) $(TARGETS_LIB) $(TARGET_DOC)
|
||||||
|
|
@ -16,6 +16,9 @@ lib:
|
||||||
lib_thread:
|
lib_thread:
|
||||||
ocamlbuild $(OPTIONS) $(TARGETS_LIB) $(TARGET_THREAD_LIB) $(TARGET_DOC)
|
ocamlbuild $(OPTIONS) $(TARGETS_LIB) $(TARGET_THREAD_LIB) $(TARGET_DOC)
|
||||||
|
|
||||||
|
doc:
|
||||||
|
ocamlbuild $(OPTIONS) $(TARGET_DOC)
|
||||||
|
|
||||||
examples: all
|
examples: all
|
||||||
ocamlbuild $(OPTIONS) -I . $(EXAMPLES)
|
ocamlbuild $(OPTIONS) -I . $(EXAMPLES)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue