Commits

camlspotter committed ed3e479

ocamlbuild test

Comments (0)

Files changed (2)

tests/ocamlbuild/Makefile

+hello.native: hello.ml
+	ocamlbuild hello.native
+
+clean:
+	ocamlbuild -clean

tests/ocamlbuild/hello.ml

+let _ =
+  Printf.printf "Hello, %s ! My name is %s\n"
+    (if Array.length Sys.argv > 1 then Sys.argv.(1) else "stranger")
+    Sys.argv.(0)
+;;