Commits

camlspotter  committed 30b4d6a Merge
  • Participants
  • Parent commits bf2a511, ed3e479

Comments (0)

Files changed (2)

File tests/ocamlbuild/Makefile

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

File 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)
+;;