summaryrefslogtreecommitdiffstats
path: root/ocamlbuild/examples/example3
diff options
context:
space:
mode:
Diffstat (limited to 'ocamlbuild/examples/example3')
-rw-r--r--ocamlbuild/examples/example3/epoch.ml12
-rwxr-xr-xocamlbuild/examples/example3/make.sh12
2 files changed, 24 insertions, 0 deletions
diff --git a/ocamlbuild/examples/example3/epoch.ml b/ocamlbuild/examples/example3/epoch.ml
index ad95a0394..0d235d163 100644
--- a/ocamlbuild/examples/example3/epoch.ml
+++ b/ocamlbuild/examples/example3/epoch.ml
@@ -1,3 +1,15 @@
+(***********************************************************************)
+(* *)
+(* ocamlbuild *)
+(* *)
+(* Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt *)
+(* *)
+(* Copyright 2007 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the Q Public License version 1.0. *)
+(* *)
+(***********************************************************************)
+
let _ =
let s = Num.num_of_string (Printf.sprintf "%.0f" (Unix.gettimeofday ())) in
let ps = Num.mult_num (Num.num_of_string "1000000000000") s in
diff --git a/ocamlbuild/examples/example3/make.sh b/ocamlbuild/examples/example3/make.sh
index 3588a713f..e64152e11 100755
--- a/ocamlbuild/examples/example3/make.sh
+++ b/ocamlbuild/examples/example3/make.sh
@@ -1,5 +1,17 @@
#!/bin/sh
+#########################################################################
+# #
+# OCaml #
+# #
+# Nicolas Pouillard, projet Gallium, INRIA Rocquencourt #
+# #
+# Copyright 2007 Institut National de Recherche en Informatique et #
+# en Automatique. All rights reserved. This file is distributed #
+# under the terms of the Q Public License version 1.0. #
+# #
+#########################################################################
+
set -e
TARGET=epoch