small changes

This commit is contained in:
Simon Cruanes 2013-04-05 17:34:06 +02:00
parent 66f5a97f92
commit 62248928b2
2 changed files with 6 additions and 2 deletions

View file

@ -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:
*)

View file

@ -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)