1. camlspotter
  2. ocamlspot

Commits

camlspotter  committed ed3e479

ocamlbuild test

  • Participants
  • Parent commits bb86b10
  • Branches default

Comments (0)

Files changed (2)

File tests/ocamlbuild/Makefile

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

File tests/ocamlbuild/hello.ml

View file
+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)
+;;